Regular Expressions 101

Community Patterns

includes file name - exclude path name - for jpg file

1

Regular Expression
PCRE (PHP <7.3)

/
(?!.+\/)(.*\.jpg$)
/
gi

Description

no description available

Submitted by L clarke - 8 years ago