It worked well on Perl v5.8.8$line =~ s/(pattern1)((?!pattern1).)+pattern2.+?\1/substitute/gs;
In reply to Re: How can I build regexp with "not" assertion?
by nikhil.patil
in thread How can I build regexp with "not" assertion?
by putnik
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |