Regular Expressions 101

Community Patterns

Community Library Entry

0

Regular Expression
ECMAScript (JavaScript)

/
([_a-z]\w*)=\s*([^;|^&]*)
/
g

Description

detect key value pairs that ends with ; or & in a string contains sapaces

Submitted by anonymous - 7 years ago