Regular Expressions 101

Sponsors

Library entries

2
javascript

Simple URL

Validate an URL input.
Submitted by @nuragic - 4 months ago
2
javascript

Error in Refex

no description available
Submitted by anonymous - 9 years ago
2
javascript

sample

no description available
Submitted by anonymous - 8 years ago
2
javascript

US Postal Code

refactor
Submitted by jay johnson - 8 years ago

match brackets outside quotes

Vote

4

Regular Expression
javascript

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

Description

Loading markdown...
Submitted by Jerry - 7 years ago