so... maybe
([0-9]|[0-9][0-9])_([0-9]|[0-9][0-9])
which is saying ( one digit | or two digits ) underscore (repeat)
but isn't there a way to specify like: 1 or 2 occurances of the previous?
Gerry
Travis Rabe wrote:
Sorry - I need to be more clear. The 12 and 13 below could be any number
between 0 and 99.
TR
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Gerry Massat
Sent: Wednesday, September 05, 2007 10:03 AM
To: [email protected]
Subject: Re: [IMail Forum] OT: RegEx Help
What about
1(2|3)_1(2|3)
or
(12|13)_(12|13)
Gerry (Not a regexp expert, but I may be confusing it with pcre!:-)
Travis Rabe wrote:
How would I write the regex expression to match the following?
13_12,13_12
Normally I would do: [0-9]_[0-9]\\,
To go after the pattern 13_12,, but that only works when the numbers are
from 0-9. Since they are 12 and 13, what do I need to do differently?
Basically I want to match on 13_12, only.
TR
To Unsubscribe: http://www.ipswitch.com/support/mailing-lists.html
List Archive: http://www.mail-archive.com/imail_forum%40list.ipswitch.com/
Knowledge Base/FAQ: http://www.ipswitch.com/support/IMail/