Regular Expressions 101

Community Patterns

Not ending with file ending

0

Regular Expression
PCRE2 (PHP >=7.3)

/
.*(?<!(\.(png|svg|jpg)))$
/
g

Description

Not ending with png svg or jpg

Submitted by anonymous - 2 years ago