Re: [OT]Help needed in wring regular expression

2004-06-16 Thread Navjot Singh
][Ww])|([Mm][Aa][Nn][Yy]) is working fine but could not enter any leading zeros. thank you. -Ram -Original Message- From: Christopher Schultz [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 16, 2004 7:25 AM To: Struts Users Mailing List Subject: Re: [OT]Help needed in wring

RE: [OT]Help needed in wring regular expression

2004-06-16 Thread RDoss
. thank you. -Ram -Original Message- From: Christopher Schultz [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 16, 2004 7:25 AM To: Struts Users Mailing List Subject: Re: [OT]Help needed in wring regular expression Ram, > Initially we had to use (\d{1,4})|(FEW)|(few)|(MANY)|(many)

Re: [OT]Help needed in wring regular expression

2004-06-16 Thread Christopher Schultz
Ram, Initially we had to use (\d{1,4})|(FEW)|(few)|(MANY)|(many) and eventually we found that it is accepting 0(zero) when we enter a integer value as 0(zero) or which is invalid. anybody have any idea about how to achieve the above using regular expression. I tried finding any document to ref

RE: [OT]Help needed in wring regular expression

2004-06-15 Thread RDoss
but I could not find one for the above scenario. appreciate any of your suggestion. -Ram -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 15, 2004 1:09 PM To: [EMAIL PROTECTED] Subject: RE: [OT]Help needed in wring regular expression

RE: [OT]Help needed in wring regular expression

2004-06-15 Thread RDoss
tains the basics of using regular expression with examples. Tnx a lot. -Ram -Original Message- From: Navjot Singh [mailto:[EMAIL PROTECTED] Sent: Monday, June 14, 2004 11:37 PM To: Struts Users Mailing List Subject: Re: [OT]Help needed in wring regular expression but you can ac

Re: [OT]Help needed in wring regular expression

2004-06-14 Thread Navjot Singh
but you can achieve your objective in 2 easy regex. Anyway can you try something like this (\d(1)[^0])|(\d(1)\d(1)[0-9]{1,3})|(FEW)|(few)|(MANY)|(many) [EMAIL PROTECTED] wrote: Hi, Web page contains a text box can accept only maximum of four digits and it can be integers/String(accepts only "many"

[OT]Help needed in wring regular expression

2004-06-14 Thread RDoss
Hi, Web page contains a text box can accept only maximum of four digits and it can be integers/String(accepts only "many","MANY") if enter a single integer value it should not be 0(zero) and 0(zero) can be entered subsequently after first non-zero integer and totally 4 digit maximum. I tried usin

Help needed in wring regular expression

2004-06-14 Thread RDoss
Hi, Web page contains a text box can accept only maximum of four digits and it can be integers/String(accepts only "many","MANY") if enter a single integer value it should not be 0(zero) and 0(zero) can be entered subsequently after first non-zero integer and totally 4 digit maximum. I tried usin