Regular Expressions 101

Sponsors

Library entries

1
javascript

Most recent subpattern

no description available
Submitted by anonymous - 6 years ago
1
javascript

week parser

no description available
Submitted by anonymous - 6 years ago
1
javascript

test

no description available
Submitted by anonymous - 6 years ago
1
javascript

XML URL

validates an xml URL. Allows ips and domain names
Submitted by allofus - 6 years ago
2
javascript

汉字匹配

no description available
Submitted by anonymous - 6 years ago
0
javascript

Match 24H time

no description available
Submitted by anonymous - 6 years ago
1
javascript

Experimental

no description available
Submitted by anonymous - 6 years ago
1
javascript

ReporteController

no description available
Submitted by anonymous - 6 years ago
0
javascript

(554) 555 55 55

no description available
Submitted by anonymous - 6 years ago
3
javascript

email

no description available
Submitted by anonymous - 6 years ago

Validate US Telephone Numbers

Vote

1

Regular Expression
javascript

/
^1?\s?\(\d{3}\)\s?\d{3}\s?-?\d{4}$|^(?:1\s)?\d{3}(\s|-)?\d{3}\1\d{4}$
/

Description

Loading markdown...
Submitted by Davide Vozzi - 6 years ago