[prev in list] [next in list] [prev in thread] [next in thread] 

List:       perl-win32-users
Subject:    RE: Perl-Win32-Users Digest, Vol 26, Issue 26
From:       "David Budd" <dave.budd () manchester ! ac ! uk>
Date:       2006-03-27 9:32:04
Message-ID: 20060327103204328.00000000472 () manchest-klu866
[Download RAW message or body]

>    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 
/\s(\D+?)\d+$/ 
work?
-- 
David Budd, IT Services
Kilburn Building, University of Manchester
Tel 56033 Email david.budd@manchester.ac.uk 
 


_______________________________________________
Perl-Win32-Users mailing list
Perl-Win32-Users@listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic