Regular Expressions 101

Community Patterns

Community Library Entry

0

Regular Expression
ECMAScript (JavaScript)

/
(\w+)=([^\s]+)
/
g

Description

detect key value pairs in string with key having spaces

Submitted by anonymous - 7 years ago