Regular Expressions 101

Community Patterns

Pictures or photographs match

0

Regular Expression
Python

r"
[\w]+.*\.[jp][pn]e?g$
"
gm

Description

Regular expression to match pictures or photographs in the machine

Submitted by Moses Otieno - 3 years ago