RE: Help needed on regexp formats

2003-12-04 Thread Mirabito, Massimo
PROTECTED] Subject: Re: Help needed on regexp formats Importance: High 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

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