Regular Expressions 101

Community Patterns

Matches words and groups words in quotes

0

Regular Expression
ECMAScript (JavaScript)

/
[^\s"]+|"([^"]*)"
/
g

Description

Spilt a string grouping words in quotes.

String: First Last "Full Name" Matches: First|Last|"Full Name"

Submitted by Frosty - a year ago