Tim Johnson wrote:
First off, "perldoc perlre" is a good place to start.

What do you have so far?

Does something like /\b1337\b/ work? Or am I taking you too literally?

Too literally. Basically, I'm trying to match a word that contains a mix of >=2 numbers (possibly next to each other) and letters. My current regex is:


\b\d*[a-zA-Z]*(\d+[a-zA-Z]+)+\d*[a-zA-Z]*[^:,]\b

but that seems to catch too much.

--
Andrew Gaffney
Network Administrator
Skyline Aeronautics, LLC.


-- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>




Reply via email to