Community Patterns

Community Library Entry

3

Regular Expression
Created·2014-03-08 11:13
Flavor·ECMAScript (JavaScript)

/
(str)(?=(?:[^'"]|["'][^'"]*["'])*$)
/
g
Open regex in editor

Description

match any string outside of single or double quotes

Submitted by anonymous