--- Craig Moynes/Markham/IBM <[EMAIL PROTECTED]> wrote:
> . . . 
> I have a string like this:
> $string1 = "[%a %H:%M:%S %c] - - etc.etc.etc";
> 
> I need to parse out all the substrings that are similar to "%x"
> (where x is any letter)

If you sepcifically need an alpha character, you might try
 @x = $string1 =~ /%([a-z])/ig; # letters only, case insensitive.


__________________________________________________
Do You Yahoo!?
Yahoo! Auctions - buy the things you want at great prices
http://auctions.yahoo.com/

Reply via email to