Re: phone number regular expression problem
- From: "mrshrinkray@xxxxxxxxxxxxxx" <mrshrinkray@xxxxxxxxxxxxxx>
- Date: 31 May 2006 06:47:17 -0700
^(\+{0,1}[0-9\-]*)
seems to work for me, I tried it with:
+44-444-2342342
venu wrote:
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
.
- Follow-Ups:
- Re: phone number regular expression problem
- From: Mythran
- Re: phone number regular expression problem
- Prev by Date: Re: String array in constructor
- Next by Date: Re: TrackBar with transparent background
- Previous by thread: Interfacing with FP
- Next by thread: Re: phone number regular expression problem
- Index(es):
Relevant Pages
|