Regular Expressions 101

Community Library Entry

0

Regular Expression
PCRE (PHP <7.3)

/
(?>^|\s+|\W) ( (?>[a-z]\d*|\d+[a-z]? (?>\( ([a-z]\d*|\d+[a-z]?) \)[a-z]? )?) (?>\.(?>[a-z]|\d+[a-z]?))* | (?>M{0,4}(?>CM|CD|D?C{0,3})(?>XC|XL|L?X{0,3})(?>IX|IV|V?I{0,3})) ) (?>\s+|\W|$)
/
gmix

Description

no description available

Submitted by anonymous - 7 years ago