in reply to special regexp
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.
|
|---|