RE: Help needed on regexp formats

2003-12-04 Thread Mirabito, Massimo
Joseph, Thanks for taking the time to explain regexp. This works great you saved me a lot of time Take care and happy holidays, Max -Original Message- From: Walid Joseph Gedeon [mailto:[EMAIL PROTECTED] Sent: Thursday, December 04, 2003 7:59 AM To: Regexp Users List Cc: [EMAIL PROTECT

Re: Help needed on regexp formats

2003-12-04 Thread Walid Joseph Gedeon
Hello Max, Following your examples, you are trying to say that there could be either one or two digits at the beginning followed by an optional rest which would start with either a colon or a dot, and would itself optionally contain either one or two digits. Expr ::= OneOrTwoDigits

Help needed on regexp formats

2003-12-04 Thread Mirabito, Massimo
I am really new to regexp so please excuse me if I am not wording the question correctly. I am having difficulty in validating a string. This string might have any of the following formats (# denotes a digit) # #: ##: ##:# ##:## # #. ##. ##.# ##.## I tried several permutations and it works wi