Regular Expressions 101

Community Library

Community Library Entry

1

Regular ExpressionOpen Workspace

/
\B(?=(\d{3})+(?!\d))
/
g

Description
Created·2015-05-24 21:57
Type·Match
Flavor·JavaScript

finds the positions in a number to be replaced with a thousands separator, e.g. 12345 => 12`345

Submitted by Anonymous
Open Workspace