my @parts= split /start/,$string; shift @parts; foreach (@parts) { print "start$1\n\n" if (m{^ (.*? end ) }xms); }
In reply to Re: Multiple regex matches in single string
by jethro
in thread Multiple regex matches in single string
by Elijah
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |