With your data, that printsif($in =~ /(?:\W*(\w+))+/) { print "Last word: $1\n"; }
Last word: senthil
In reply to Re: get last matches of the given string
by bart
in thread get last matches of the given string
by senthilkumarperl
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |