0

Looking to validate/Match Roman Numerals, are there any libraries or functions that can do this?

Would a RegEx work?

Not sure about how to go about this, any thoughts? suggestions?

I did see this PEAR package: Numbers Roman but looks like it's not actively being updated.

kapa
  • 77,694
  • 21
  • 158
  • 175
Phill Pafford
  • 83,471
  • 91
  • 263
  • 383

2 Answers2

3

Here is a regex solution:

How do you match only valid roman numerals with a regular expression?

Community
  • 1
  • 1
Andrew Clark
  • 202,379
  • 35
  • 273
  • 306
1
Community
  • 1
  • 1
Luca Filosofi
  • 30,905
  • 9
  • 70
  • 77