Something like this :
/(\w\s){2}([a-zA-Z]+)\d*/
David
Joe Discenza wrote:
Paul Rousseau wrote, on Friday, March 24, 2006 12:38 PM
: I am looking for help on a regex that examines strings such as
:
: "xxxN yyyyyyy sssNNN"
: "xxxN yyyNyyy sssNNNN"
: "xxxN yyyNyyy ssssssN"
:
: and returns only the sss part? N is always a numeral, and s
: is always alphabetic.
Does /.*(\d+)/ do what you want? Or is there more to the string after
what you've shown?
Good luck,
Joe
_______________________________________________
Perl-Win32-Users mailing list
Perl-Win32-Users@listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
_______________________________________________
Perl-Win32-Users mailing list
Perl-Win32-Users@listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs