Regular Expressions 101

Sponsors

Library entries

2
pcre2

object

Json Object
Submitted by anonymous - a year ago
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
pcre2

Delete hour range

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

white space before punctuations, outside script and code tags

Vote

3

Regular Expression
pcre

/
(?!<(script|code)[^>]*?>)((\s)(\?|\!|\;|\:))(?![^<]*?<\/(script|code)>)
/
gi

Description

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