Regular Expressions 101

Library entries

Match double quoted or single quoted multi line string in code.

Vote

0

Regular Expression
python

"""
("|')((?!(?!\\)(\1|\n))|(\\(.|\n))|((?!\\).))*?(\1)
"""
g

Description

Loading markdown...
Submitted by Siddharth Gupta - 4 years ago