Regular Expressions 101

Community Patterns

Community Library Entry

0

Regular Expression
Created·2021-06-14 12:50
Flavor·Python

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

Description

Regular expression to match pictures or photographs in the machine

Submitted by Moses Otieno