Regular Expressions 101

Community Patterns

Community Library Entry

0

Regular Expression
ECMAScript (JavaScript)

/
\[(\w+|\W*?:\w+|\W*?)*\]
/

Description

replace token like [foo:bar:ba zz]

Submitted by anonymous - 9 years ago