perhaps \d{1,2}_\d{1,2}
On Wednesday, September 5, 2007, 1:20:15 PM, Gerry wrote:
GM> so... maybe
GM> ([0-9]|[0-9][0-9])_([0-9]|[0-9][0-9])
GM> which is saying ( one digit | or two digits ) underscore (repeat)
GM> but isn't there a way to specify like: 1 or 2 occurances of the previous?
GM> Gerry
GM> 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
>>>
GM> To Unsubscribe: http://www.ipswitch.com/support/mailing-lists.html
GM> List Archive:
GM> http://www.mail-archive.com/imail_forum%40list.ipswitch.com/
GM> Knowledge Base/FAQ: http://www.ipswitch.com/support/IMail/
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/