Regular Expressions 101

Community Patterns

Community Library Entry

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 - 4 years ago