Regular Expressions 101

Community Patterns

Community Library Entry

0

Regular Expression
Python

r'
(?<!\\)(?P<open>[\'\"])(.*?[^\\])?(\\\\)*(?P=open)
'
gm

Description

Regex to detect string of js

Submitted by anonymous - 5 years ago