Regular Expressions 101

Sponsors

Library entries

0
pcre2

InputInteger

InputInteger
Submitted by anonymous - 16 hours ago
0
pcre2

hidrologia

qualidade
Submitted by anonymous - 18 hours ago
0
pcre2

Celular Brasil

Validar celular do Brasil
Submitted by Paulo Neves - 5 days ago
0
pcre2

Test mail

Email test
Submitted by anonymous - 8 days ago
0
pcre2

No Squares

Match not square brackets
Submitted by max - 8 days ago

Split quotes and single words

Vote

5

Regular Expression
javascript

/
"([^"\\]*(?:\\.[^"\\]*)*)"|\w+|'([^'\\]*(?:\\.[^'\\]*)*)'
/
g

Description

Loading markdown...
Submitted by LoveIsGrief - 9 years ago