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 0000 which is invalid.

anybody have any idea about how to achieve the above using regular
expression. I tried finding any document to refer but I could not find one
for the above scenario.

So, do you allow any leading zeros? Ever?

How about this:

([1-9][0-9]{0,3})|([Ff][Ee][Ww])|([Mm][Aa][Nn][Yy])

-chris

Attachment: signature.asc
Description: OpenPGP digital signature



Reply via email to