Sorry thats OT , mail me off the list and I'll take a look..
Cheers Mark
On 11 Dec 2003, at 13:41, Rupinder Singh Mazara wrote:
Hi All ,
Can some help me in getting in setting up validation for data in the following format 2, 4, 5-9, 18, 21-25, 50 or 2, 90, 300 or 67-90, 101-210
for a textfield in html form
I have tried setting up a Regular expression to check for /\s*(\d*-\d*,|\d*,)\s*/ occurrences but i cannot get on from here I have tried doing it in a JavaScript as well as setting it up in a validate method for my form , ( USING STRUTS )
thanks in advance
regards
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]