Regular Expressions 101

Sponsors

Library entries

1
javascript

pure url and uri

no description available
Submitted by Thiago Souza - 7 years ago
1
javascript

Floating Point

Tests a floating point number
Submitted by Josh L. Rasmussen - 7 years ago
-2
javascript

domain name

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

git://git.apache.org/aurora.git

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

try1

try1
Submitted by anonymous - 7 years ago
1
javascript

US Zip Code Validation

5 digits and no 0 5/4 times
Submitted by Ashish - 7 years ago
0
javascript

Date Validation

no description available
Submitted by Ashish - 7 years ago
-2
javascript

Date Validation

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

Everthing in an element

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

date regex

match dd-mm-yyyy
Submitted by anonymous - 7 years ago
0
javascript

SSN

no description available
Submitted by anonymous - 7 years ago
2
javascript

SSN

no description available
Submitted by anonymous - 7 years ago

email

Vote

3

Regular Expression
javascript

/
^(("[\w-\s]+")|([\w-]+(?:\.[\w-]+)*)|("[\w-\s]+")([\w-]+(?:\.[\w-]+)*))(@((?:[\w-]+\.)*\w[\w-]{0,66})\.([a-z]{2,6}(?:\.[a-z]{2})?)$)|(@\[?((25[0-5]\.|2[0-4][0-9]\.|1[0-9]{2}\.|[0-9]{1,2}\.))((25[0-5]|2[0-4][0-9]|1[0-9]{2}|[0-9]{1,2})\.){2}(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[0-9]{1,2})\]?$)i
/

Description

Loading markdown...
Submitted by anonymous - 7 years ago