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
pcre2

Delete hour range

Select duplicate a.m. - p.m range
Submitted by profeivan - a year ago

US phone number

Vote

2

Regular Expression
pcre2

/
(\+?(\b1)?[\ .\/-]?((?(2)|(\b))|(\())\d{3}(?(?<=\(\d{3})\)|)[\ .\/-]?)?(?(1)|\b)\d{3}[\ .\/-]?\d{4}[\ ]?([xX][\ ]?\d{1,5})?\b
/
gm

Description

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