Regular Expressions 101

Community Patterns

1...34567...884

exclude .jpg .png .js .css path

1

Regular Expression
PCRE2 (PHP >=7.3)

/
^((?!\.jpg$|\.png$|\.js$|\.css$).)*$
/
gmi

Description

exclude .jpg .png .js .css path

Submitted by zm - 3 months ago