TIMTOWTDI
#! /usr/bin/perl $str = <<HERE ; abc 10 abc 11 abc 12 abc 13 abc 14 HERE ($dum) = $str =~/abc\s(\d+)$/; print "dum is $dum\n" ;
Prasad
In reply to Re: REGEXP: only need last matching string
by prasadbabu
in thread REGEXP: only need last matching string
by jeanluca
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |