Community Patterns

Community Library Entry

0

Regular Expression
Created·2021-12-17 20:50
Flavor·ECMAScript (JavaScript)

/
(\.\d\d[1-9]?)\d*
/
gm
Open regex in editor

Description

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

Submitted by anonymous