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

Get path from any text

Vote

6

Regular Expression
pcre2

/
(?<opening>\b(?<montage>[a-zA-Z]:[\/\\])|[\/\\][\/\\](?>[?.][\/\\](?:[^\/\\<>:"|?\n\r ]+[\/\\])?(?&montage)?|(?!(?&montage)))|%\w+%[\/\\]?)(?:[^\/\\<>:"|?\n\r ,'][^\/\\<>:"|?\n\r]*(?<![ ,'])[\/\\])*(?:(?=[^\/\\<>:"'|?\n\r;, ])(?:(?:[^\/\\<>:"|?\n\r;, .](?: (?=[\w\-]))?(?:\*(?!= ))?(?!(?&montage)))+)?(?:\.\w+)*)|(?:'(?&opening)(?=.*'\W|.*'$)(?:[^\/\\<>:'"|?\n\r]+(?:'(?=\w))?[\/\\]?)*')|"(?&opening)(?=.*")(?:[^\/\\<>:"|?\n\r]+[\/\\]?)*"
/
g

Description

Loading markdown...
Submitted by nitrateag - 5 days ago