Regular Expressions 101

Community Library Entry

1

Regular Expression
Python

r"
\"[^""\r\n\\]*(?:"".[^""\r\n\\]*)*\"
"
gmi

Description

Get all strings in vb.net format (even nested quotes"

Submitted by Alan Moore (http://stackoverflow.com/questions/2148587/finding-quoted-strings-with-escaped-quotes-in-c-sharp-using-a-regular-expression) modified by j - 10 years ago