Regular Expressions 101

Community Patterns

Community Library Entry

0

Regular Expression
PCRE (PHP <7.3)

/
(?m)^\(?([a-zA-Z]{1,4}[\)\.]|(XC|XL|L?X{0,3}|xc|xl|l?x{0,3})(IX|I?V|V?I{0,3}|ix|i?v|v?i{0,3})[\)\.]|([\dx]{1,3}\.){0,3}[\dx]{1,3})(?:[ \t]+)(\S.*)$
/
g

Description

no description available

Submitted by anonymous - 7 years ago