Regular Expressions 101

Community Patterns

Community Library Entry

0

Regular Expression
ECMAScript (JavaScript)

/
(\.\d\d[1-9]?)\d*
/
gm

Description

Case 3 position is <> 0 take 3 otherwise take 2

Submitted by anonymous - 3 years ago