regular expression.

Results 1 to 2 of 2

Thread: regular expression.

  1. #1
    Join Date
    Dec 1969

    Default regular expression.

    hi all.<BR>i have a simple regular expression question.<BR>i want to check if a string is a valid phone number.<BR>the format should one of these:<BR>(1) xx-xxxxxxx<BR>(2) xxx-xxxxxxx<BR>now, i found the answer to this in the faq BUT i have one more thing that i want to check...<BR>in (1) the first two digits can be one of these:<BR>02,03,04,08<BR>and in (2):<BR>050,052,054<BR><BR>i cound not find how to do the "or" thing...<BR>i&#039;m using vbscript.<BR><BR>thanks a lot.

  2. #2
    Join Date
    Dec 1969

    Default RE: regular expression.


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts