A specific Phone Number RegEX

Posted by Hellnar on Stack Overflow See other posts from Stack Overflow or by Hellnar
Published on 2010-03-29T20:31:41Z Indexed on 2010/03/29 20:33 UTC
Read the original article Hit count: 443

Filed under:
|
|

Greetings,

I need to implement a jquery based validation for a text field that contains a phone number, for that I need the regular expression of these two strings, I am requesting this because I am very naive with RegEx:

First One:

0(5NN) NNN NN NN

Second One:

0(53N) NNN NN NN 

N means an integer between 0-9

© Stack Overflow or respective owner

Related posts about regex

Related posts about validation