Regular Expressions 101

Community Patterns

0

Money format

PCRE2 (PHP >=7.3)
Any money format
Submitted by anonymous - 2 years ago
0

IP Address

Java 8
IP Address RegEx
Submitted by anonymous - 2 years ago

Match all filenames in any URL including those with ANSI escaped characters (PHP version)

0

Regular Expression
PCRE (PHP <7.3)

/
(?<=[=\/]|%2F)(?:(?!%2F)[^?&\s\/])+\.\w+(?=[?&]|$)
/
gm

Description

Loading markdown...
Submitted by The Fourth Bird - a year ago
(Last modified a year ago)