Hi,
I have a different requirement and it is :
I need to validate a phone number field.
It may or may not be a US phone number.
The constraints are :
***********************
# It should accept any number of numbers
# any number of - hyphens
# and one + symbol
# no other characters and alphabets are allowed
Thanks in advance
Venugopal.S
Charlie Brown - 31 May 2006 14:30 GMT
^((\+){0,1}91(\s){0,1}(\-){0,1}(\s){0,1}){0,1}98(\s){0,1}(\-){0,1}(\s){0,1}[1-9]{1}[0-9]{7}$
Dave - 31 May 2006 15:18 GMT
Hi,
You should be able to get started with this, at least...
^[\d-]*\+?[\d-]*$
Hope that helps.
Dave
> Hi,
> I have a different requirement and it is :
[quoted text clipped - 13 lines]
>
> Venugopal.S