Regular Expressions 101

Sponsors

Library entries

2
javascript

fffs

dfsfd
Submitted by anonymous - 7 years ago
2
javascript

Delimite a number with 3-digital block

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

password 1upper 1lower 1number 1specialcharater

fjk@1Qaa$
Submitted by Anuswadh - 7 years ago
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

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

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

Removes script tags

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

Href parse

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

Remove XSS

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

SSN

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

get href

gets value of href
Submitted by me - 6 years ago

email

Vote

-4

Regular Expression
javascript

/
(?:[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*|"(?:[\x01-\x08\x0b\x0c\x0e-\x1f\x21\x23-\x5b\x5d-\x7f]|\\[\x01-\x09\x0b\x0c\x0e-\x7f])*")@(?:(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?|\[(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?|[a-z0-9-]*[a-z0-9]:(?:[\x01-\x08\x0b\x0c\x0e-\x1f\x21-\x5a\x53-\x7f]|\\[\x01-\x09\x0b\x0c\x0e-\x7f])+)\])
/

Description

Loading markdown...
Submitted by public - 8 years ago