Regular Expressions 101

Community Patterns

1

pm-problem

ECMAScript (JavaScript)
pm
Submitted by creamidea - 8 years ago

Google-like search query pattern matching

0

Regular Expression
ECMAScript (JavaScript)

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

Description

Loading markdown...
Submitted by Michael La Voie - 8 years ago