Regular Expressions 101

Community Patterns

Community Library Entry

1

Regular Expression
ECMAScript (JavaScript)

Description

match html and xml brackets (<>) and all their content. It doesn’t match inner text. Useful to remove markup tags from a xml or html string, leaving only the text.

Submitted by Emasoft - 6 months ago