Loithe literal text Loi (case insensitive) Décretthe literal text Décret (case insensitive) \s+any whitespace character, repeated at least once
n°the literal text n° (case insensitive) \s*any whitespace character, repeated any number of times
Group 2(\d\d(?:\d\d)?\-\d{1,4}) \da digit
\da digit
Non-Capturing Group(?:\d\d)? ?repeats the group contents below at most once:
\da digit
\da digit
\-the literal - (4510 / 558 / 2D16)
\d{1,4}a digit, repeated between 1 and 4 times
\s+any whitespace character, repeated at least once
duthe literal text du (case insensitive) \s+any whitespace character, repeated at least once
1-9one character from 1 (4910) to 9 (5710)
?matches at most one character from the set below:
0-9one character from 0 (4810) to 9 (5710)
\s+any whitespace character, repeated at least once
Group 4(janvier|février|mars|avril|mai|juin|juillet|août|septembre|octobre|novembre|décembre) janvierthe literal text janvier (case insensitive) févrierthe literal text février (case insensitive) marsthe literal text mars (case insensitive) avrilthe literal text avril (case insensitive) maithe literal text mai (case insensitive) juinthe literal text juin (case insensitive) juilletthe literal text juillet (case insensitive) aoûtthe literal text août (case insensitive) septembrethe literal text septembre (case insensitive) octobrethe literal text octobre (case insensitive) novembrethe literal text novembre (case insensitive) décembrethe literal text décembre (case insensitive) \s+any whitespace character, repeated at least once
\da digit
\da digit
\da digit
\da digit
\s+any whitespace character, repeated at least once
.*any character (except for line terminators), repeated any number of times
g modifier: global. Finds all matches instead of stopping after the first
i modifier: insensitive. Matches without distinguishing uppercase and lowercase letters