Regular Expressions 101

Community Library Entry

1

Regular Expression
ECMAScript (JavaScript)

/
(simple)(?![^<>]*>)
/
gi

Description

expression to look for words in innerText & not in html tags as id or class or style name

Submitted by umarfarukh - 11 years ago