$text =~ /(\w+) \. (\d+) \. (\d+) \. (\d+) \. ([:alpha:]+) \. ([:alpha:])/x
On Sun, Mar 8, 2009 at 9:37 PM, Georges EL OJAIMI <[email protected]> wrote: > Hello, > > I am trying to have a regular expression pattern to detect the following: > alpha numeric . numeric . numeric . numeric . alphabetic . alphabetic > > i.e. Q4.3.1.2.TWW.FG > > Is there a way to get it in one pattern or I have to split the dot and do it > each alone? > If so, can you please provide it. > > Best regards, > Georges > _______________________________________________ > Perl mailing list > [email protected] > http://perl.org.il/mailman/listinfo/perl > -- Gaal Yahas <[email protected]> http://gaal.livejournal.com/ _______________________________________________ Perl mailing list [email protected] http://perl.org.il/mailman/listinfo/perl
