Regular Expressions 101

Content inside string

Open Workspace
  • Python
  • Match
0

Regular Expression

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

Description

Will match any character inside " or '

Submitted by Anonymous