Regular Expressions 101

Community Patterns

123...6

Community Library Entry

0

Regular Expression
Python

r"
^SW(TS|L|M)-(\d+)([:,] )([wW][iI][pP])?(?(4)[ \w]{3,}|(?!([wW][iI][pP]))[ \w]{3,}).*$
"
gm

Description

Submitted by alkov - 3 years ago