Regular Expressions 101

Matching french integer numbers

Open Workspace
  • PCRE2 (PHP)
  • Match
0

Regular Expression

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

Description

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

Submitted by scalpa