Regular Expressions 101

Sponsors

Library entries

2
pcre2

US phone number

US phone number, try to catch as many as possible
Submitted by anonymous - a year ago
2
pcre2

Check Phone numbers

Other patterns
Submitted by https://joserobinson.com - 8 months ago
2
pcre2

Grabify URL Detector

Detects any Grabify IP tracker links
Submitted by ShadowNox - 8 months ago
2
pcre2

UUID 4

Detects any UUID 4 strings
Submitted by ShadowNox - 8 months ago
2
javascript

Simple URL

Validate an URL input.
Submitted by @nuragic - 5 months ago

MySQL Full-Text BOOLEAN mode

Vote

3

Regular Expression
pcre

/
^(?:[<>~+-]?\((?:(?:[<>~+-]?[\w][\w-]+[*]?|"[^"]+")(?:\s+(?:[<>~+-]?[\w][\w-]+[*]?|"[^"]+"))+)\)|[<>~+-]?[\w][\w-]+[*]?|"[^"]+")(?:\s+(?:[<>~+-]?\((?:(?:[<>~+-]?[\w][\w-]+[*]?|"[^"]+")(?:\s+(?:[<>~+-]?[\w][\w-]+[*]?|"[^"]+"))+)\)|[<>~+-]?[\w][\w-]+[*]?|"[^"]+"))*$
/

Description

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