Regular Expressions 101

Sponsors

Library entries

2
pcre2

Check Phone numbers

Other patterns
Submitted by https://joserobinson.com - a year ago
2
pcre2

Grabify URL Detector

Detects any Grabify IP tracker links
Submitted by ShadowNox - a year ago
2
pcre2

UUID 4

Detects any UUID 4 strings
Submitted by ShadowNox - a year ago
2
javascript

Simple URL

Validate an URL input.
Submitted by @nuragic - 7 months ago
2
pcre2

Delete hour range

Select duplicate a.m. - p.m range
Submitted by profeivan - 5 months 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