Regular Expressions 101

Sponsors

Library entries

0
javascript

check mail

Vérifie si le mail est valide ou non
Submitted by anonymous - 4 days ago
0
java

lat cyr letters

only lat and cyr letters
Submitted by anonymous - 9 days ago
0
javascript

Find WikiRace baseURL

https://github.com/d-k-bo/WikiRace
Submitted by anonymous - 9 days ago
0
java

LinkedIn Profile Url

LinkedIn Profile Url
Submitted by Morons - 11 days ago

Split quotes and single words

Vote

5

Regular Expression
javascript

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

Description

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