Regular Expressions 101

Community Patterns

Community Library Entry

0

Regular Expression
PCRE2 (PHP >=7.3)

/
(\d{1,3})( \d{3})+
/
gm

Description

Matching french integer numbers : group digits by 3 with a space between groups

Submitted by scalpa - a year ago