Regular Expressions 101

Community Patterns

Community Library Entry

0

Regular Expression
Python

r"
(?P<cometes>[\'\"])(.*?)(?P=cometes)$
"
gm

Description

Will match any character inside " or '

Submitted by anonymous - 2 years ago