Regular Expressions 101

Sponsors

Library entries

2
javascript

Error in Refex

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

Hello world !

no description available
Submitted by Fedir RYKHTIK - 9 years ago
103
javascript

trim

trim string
Submitted by fp - 9 years ago

Split quotes and single words

Vote

5

Regular Expression
javascript

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

Description

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