Regular Expressions 101

Community Patterns

1...34567...293

match brackets outside quotes

4

Regular Expression
ECMAScript (JavaScript)

/
\[\d*\]((?=[^"]*(?:"[^"]*"[^"]*)*$)(?=[^']*(?:'[^']*'[^']*)*$))
/
g

Description

no description available

Submitted by Jerry - 9 years ago