Re: phone number regular expression problem



venu wrote:
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

You forgot to post what salary you're offering for this project.

Paul Lalli

.



Relevant Pages

  • Re: Impact on changing an enabled validated constraint to enable novalidate ?
    ... We make an export data=no and retrieve the script to refresh other ... Having the constraint validated in the production environment, ... pretty long to validate again) ... Then maybe you don't need the constraints at all? ...
    (comp.databases.oracle.server)
  • Re: IN Clause - Stuck on an easy query :-(
    ... validate or verify the data. ... not some unknown program to be written by an unknown ... The CHECKconstraints and REFERENCES also provide extra ...
    (microsoft.public.sqlserver.programming)
  • Re: phone number regular expression problem
    ... venu wrote: ... I need to validate a phone number field. ... # no other characters and alphabets are allowed ... I've assumed you actually meant "zero or one + symbol". ...
    (comp.lang.perl.misc)
  • Re: phone number regular expression problem
    ... venu wrote: ... I need to validate a phone number field. ... # no other characters and alphabets are allowed ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: phone number regular expression problem
    ... venu wrote: ... # any number of - hyphens ... I'm sure someone else can suggest a Perl module suitable for dialing ... up the number in question to 'validate' it. ...
    (comp.lang.perl.misc)