Hello Monks
I'm trying to match the regex but doesn't seem it is working for few set of examples. I need to capture anything after $$ in $1 and $2.use strict; my $line = '%TMP%\$$(DATE)_RE_IRD_Soc'; my $line2 = '%RESULTS%\$$(DATE_USA)' my $line3 = '%RESULTS%\$$(1110_DATE_USA)'; my $regex = qr/\((.+)\)(.+)*/gi;
In reply to regex needed by doubledecker
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |