Try this expression instead.
my @fetch = ($str =~ m/ ( \<IPDR\> (?:(?!<\/IPDR>).)*? (?:test)+ (?:(?!<\/IPDR>).)*? \<\/IPDR\> ) /xgi);
In reply to Re: one line regexp problem
by JediWizard
in thread one line regexp problem
by hoodlooms
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |