Regular Expressions 101

Sponsors

Library entries

2
javascript

bye

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

Date or N/A

Accepts Date or not applicable string.
Submitted by Toufique Ahmed - 7 years ago
2
javascript

problem for homework

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

kasd; fk.!@#$%^&*()*()%^&*()_

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

Removes script tags

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

Href parse

matches href, title, innerhtml
Submitted by chrysls - 7 years ago
2
javascript

Remove XSS

no description available
Submitted by Harish Thakur - 7 years ago
2
javascript

SSN

allow nine digits only
Submitted by anonymous - 7 years ago
2
javascript

get href

gets value of href
Submitted by me - 6 years ago
2
javascript

URL with Port

no description available
Submitted by rkl - 6 years ago

Email (RFC2822)

Vote

14

Regular Expression
javascript

/
^([^\x00-\x20\x22\x28\x29\x2c\x2e\x3a-\x3c\x3e\x40\x5b-\x5d\x7f-\xff]+|\x22([^\x0d\x22\x5c\x80-\xff]|\x5c[\x00-\x7f])*\x22)(\x2e([^\x00-\x20\x22\x28\x29\x2c\x2e\x3a-\x3c\x3e\x40\x5b-\x5d\x7f-\xff]+|\x22([^\x0d\x22\x5c\x80-\xff]|\x5c[\x00-\x7f])*\x22))*\x40([^\x00-\x20\x22\x28\x29\x2c\x2e\x3a-\x3c\x3e\x40\x5b-\x5d\x7f-\xff]+|\x5b([^\x0d\x5b-\x5d\x80-\xff]|\x5c[\x00-\x7f])*\x5d)(\x2e([^\x00-\x20\x22\x28\x29\x2c\x2e\x3a-\x3c\x3e\x40\x5b-\x5d\x7f-\xff]+|\x5b([^\x0d\x5b-\x5d\x80-\xff]|\x5c[\x00-\x7f])*\x5d))*$
/

Description

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