Community Patterns

Community Library Entry

-2

Regular Expression
Created·2015-06-04 10:18
Flavor·ECMAScript (JavaScript)

/
(< *br)[ \/]*>
/
gm
Open regex in editor

Description

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

Submitted by @benhodgson