Regular Expressions 101

Community Patterns

Check not minified file

0

Regular Expression
PCRE (PHP <7.3)

/
^.*(?<!\.min)(\.(css|js))$
/
g

Description

This regex will match only filenames not containing the ".min" marker

Submitted by anonymous - 8 years ago