• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 821
  • Last Modified:

Regular expression for hyphen, dot, space, brackets and zip code and phone no.

Hi!

What would be regular expression for hyphen, dot, space, brackets.,slashes..a combination of all of these?
What is the regular expression for a zip code which has a format 12345, 12345-6789 or 123456789,12345/6789, 12345(6789), 12345 6789, 12345.6789, 12345/6789.

similarly for the phone no. excluding country code and extension and may be of the format
1234567890 or (123).456-7890, 123.(456)-7890 or 123-456.7890 ,123\456\7890 etc or mix and match of
these.

Please let em know ASAP.
It's extremely urgent.
0
amukta
Asked:
amukta
  • 2
1 Solution
 
Michel PlungjanIT ExpertCommented:
0

Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now