Regular Expressions 101

Community Patterns

0

css var regex

PCRE2 (PHP >=7.3)
css var regex
Submitted by anonymous - a year ago
0

ipv4

PCRE2 (PHP >=7.3)
Find ipv4 addresses
Submitted by anon - a year ago

URL

2

Regular Expression
PCRE (PHP <7.3)

/
(https?:\/\/)?(w{3}\.)?(\w+\.\w{2,3}\.\w{2}?)?(\w+-)?(:?%?\w{2,}\/?\.\w{2,3})?(\/\w+)?(\/[\d\w].+\s$)?(:\d+)?
/
gi

Description

Loading markdown...
Submitted by Harinath - 8 years ago