Regular Expressions 101

Library entries

Roman numeral detector

Vote

3

Regular Expression
pcre

/
^(M{0,3})(C(?:D|M)|D?C{0,3})(X(?:L|C)|L?X{0,3})(I(?:V|X)|V?I{0,3})$
/

Description

Loading markdown...
Submitted by Terence Linnell - 6 years ago