Regular Expressions 101

Community Patterns

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 - 9 years ago