Regular Expressions 101

Sponsors

Library entries

0
pcre2

Storyblok Assets

Match paths for a.storyblok.com
Submitted by anonymous - 8 hours ago
0
javascript

Storyblok Img2

Parse img2.storyblok.com URLs
Submitted by anonymous - 8 hours ago
0
javascript

Shashi test

Shashi
Submitted by anonymous - 13 hours ago
0
pcre2

Init code

Init code
Submitted by anonymous - 19 hours ago
0
dotnet

Match IPv4 Valid

expression to capture valid IP
Submitted by anonymous - a day ago
1
javascript

Simple CSS selectors

Matches all types of CSS selectors
Submitted by anonymous - a day ago
0
python

Get All inst of Characters Name

Standard Script format tv
Submitted by SummerRay - 2 days ago

match brackets outside quotes

Vote

4

Regular Expression
javascript

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

Description

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