Please enable JavaScript to use regex101
Regular
Expressions
101
Support Regex101
Social
Info
Regex Editor
Community Patterns
Account
Regex Quiz
Order By
Most Recent
Most upvotes
Most downvotes
Highest Score
Lowest Score
Filter by Flavor
PCRE2 (PHP)
ECMAScript (JavaScript)
Python
Golang
Java
.NET 7.0 (C#)
Rust
PCRE (Legacy)
Sponsors
Community Patterns
Search among community submitted regex patterns...
0/512
There was a problem trying to fetch the library data. Please try again later.
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