Community Patterns

Community Library Entry

17

Regular Expression
Created·2015-07-19 01:57
Flavor·PCRE (Legacy)

/
(\d+)[^,]?+
/
gm
Open regex in editor

Description

Capture comma separated numbers, no matter if there are spaces before or after the commas.

Submitted by Fernando Nunes