print "$expa\n\t$_\n\n\n" for grep /$expb/, split /$expa/, $text;
In reply to Re: RegExp Loop by ccn in thread RegExp Loop by ramigi