What is a regular expression that matches all US phone numbers (no extension)

Posted by Kirk on Stack Overflow See other posts from Stack Overflow or by Kirk
Published on 2010-05-13T23:47:20Z Indexed on 2010/05/14 0:34 UTC
Read the original article Hit count: 215

Filed under:

It needs to match 3334445555, 333.444.5555, 333-444-5555, 333 444 5555, (333) 444 5555 and all combinations thereof.

© Stack Overflow or respective owner

Related posts about regex