Regular Expressions 101

Sponsors

Library entries

0
javascript

check mail

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

Find WikiRace baseURL

https://github.com/d-k-bo/WikiRace
Submitted by anonymous - 7 days ago
1
javascript

File extension

Retrieve the file extension of a filename
Submitted by anonymous - 17 days ago
0
javascript

域名规则

域名规则
Submitted by anonymous - 20 days ago

Split quotes and single words

Vote

5

Regular Expression
javascript

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

Description

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