Regular Expressions 101

Community Patterns

Community Library Entry

1

Regular Expression
Created·2017-01-20 23:58
Flavor·PCRE (Legacy)

/
(?<=\d)(?=(\d\d\d)+\b)
/
g
Open regex in editor

Description

The following regular expression can be used to insert commas as thousands delimiter. The pattern was taken from the http://www.dlang.org web site.

Submitted by Unknown