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