Regular Expressions 101

Library entries

Parse keywords from search string

Vote

2

Regular Expression
pcre

/
([+-]?)(?:"([^"]*)"|'([^']*)'|([^\s+]+))
/
g

Description

Loading markdown...
Submitted by @bananascript - 7 years ago