Possible Duplicate: How do you match only valid roman numerals with a regular expression?你好我如何将正则表达式匹配到类似
[i]) [ii]) [iii]) [iv])
最佳答案
/^\[[ivmcldx]+\])/
iiix