Regular Expressions 101

Triple Quoted String

Open Workspace
  • PCRE (Legacy)
  • Match
1

Regular Expression

/
"""(?:(?!""").)*(?:"{1,2}(?!"""))?"""
/
g

Description

More powerful than python style, this supports things like """" """", which matches totally. Also supports """a""""""b""", where there are two matches: """a""","""b""".

Submitted by Flaviu