Community Patterns

Community Library Entry

0

Regular Expression
Created·2023-06-16 18:50
Flavor·ECMAScript (JavaScript)

/
[^\s"]+|"([^"]*)"
/
g
Open regex in editor

Description

Spilt a string grouping words in quotes.

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

Submitted by Frosty