Regular Expressions 101

Community Library Entry

6

Regular Expression
ECMAScript (JavaScript)

/
(")(?![^<>]*>)
/
gm

Description

Select a character (or string) ingnoring if that element is inside the HTML tags. Useful to apply html tags using replace.

Submitted by Alex5B - 10 years ago