Regular Expressions 101

Community Patterns

Community Library Entry

-2

Regular Expression
ECMAScript (JavaScript)

/
(< *br)[ \/]*>
/
gm

Description

Detect various possible HTML linebreak tags (eg. <br> <br/> <br />)

Submitted by @benhodgson - 9 years ago