grep -rhosP "(?<=l10n\(\')([\w\.]+)(?=\'\))" src/
-rrecursive in nested folders and files-hdon't show file names-oprint only matches-ssilent errors-Pactivate advanced perl regex(?<=l10n\(\')must start withl10n('but don't include in match([\w\.]+)match any word character or dot and include in match(?=\'\))must end with')but don't include in matchsrc/fodler where to search
Input
<ContentTitle className="my-4 text-white">{l10n('auth.signIn.title')}</ContentTitle>
...
placeholder={l10n('auth.signIn.enterPassword')}
Output
auth.signIn.title
auth.signIn.enterPassword