Regular Expressions 101

Community Patterns

0

ipv4

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

test

PCRE2 (PHP >=7.3)
test
Submitted by test - a year ago
0

regex_commercial_activities

PCRE2 (PHP >=7.3)
guifro
Submitted by guifro - a year ago

CSS Minimizer

1

Regular Expression
PCRE (PHP <7.3)

/
(\/\*(.|\s)*?\*\/|(\n|\t|\r|\v|\f|\a){1,}|\s(?=\s)|(?<=})\s|(?<={)\s|\s(?={)|\s(?=})|(?<=;)\s|[[:blank:]](?=;)|(?<=:)[[:blank:]]|(?<=,)[[:blank:]])
/
g

Description

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