Regular Expressions 101

Community Patterns

Remove HTML tags from a string using JavaScript and RegEx

-1

Regular Expression
ECMAScript (JavaScript)

/
(<([^>]+)>)
/
ig

Description

Remove HTML tags from a string using JavaScript and RegEx

Submitted by Megralo - 2 years ago