That will print "abxf". This may or may not be appropriate. If you can clarify what to do with multiple x's, it will be easier to come up with a match.perl -e "print \"xaxbxxxxdexfx\" =~ /x(.)(?=x)/g"
Cheers,
Ovid
Join the Perlmonks Setiathome Group or just click on the the link and check out our stats.
In reply to (Ovid) Re: special regexp
by Ovid
in thread special regexp
by alfie
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |