Regular Expressions 101

Community Patterns

Community Library Entry

1

Regular Expression
PCRE2 (PHP >=7.3)

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

Description

exclude .jpg .png .js .css path

Submitted by zm - 9 months ago