Regular Expressions 101

Community Library Entry

2

Regular Expression
ECMAScript (JavaScript)

/
(\d+(?:[,.]\d+)?)(?=[^>]+?<)
/
g

Description

Prevent matching in markup attributes

Submitted by Mathieu Civel - 10 years ago