Regular Expressions 101

Community Patterns

Community Library Entry

0

Regular Expression
ECMAScript (JavaScript)

/
(?:(?<!\\)\\(?:(\\\\)*)(?:[^\\]|$))
/
gm

Description

This RegEx finds unescaped backslahes

Submitted by anonymous - 3 years ago