Regular Expressions 101

Community Patterns

Community Library Entry

-3

Regular Expression
ECMAScript (JavaScript)

/
\[message](.*?(\s.*?)+)\[\/message]
/

Description

matching words between square brachets tags include newline or carriage return

Submitted by anonymous - 9 years ago