in reply to Matching strings differing by a number of periods
Hi, if i understood your question correctly, this will help you.
my $str="xy.z123abc xyz1.23.abc"; while ($str=~m/[\w\.]+/gsi) { print $&, "\n"; }
Updated: This won't work, i misunderstood the question. Sorry...
Regards,
Velusamy R.
|
|---|