Regular Expressions 101

Community Patterns

Community Library Entry

0

Regular Expression
PCRE (PHP <7.3)

/
^.+\.(([pP][dD][fF])|([jJ][pP][gG]))$
/
g

Description

File Pdf and Image jpg Extention

Submitted by Wafique - 7 years ago