Regular Expressions 101

Community Patterns

key value pairs ends with character

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