I Have a text file in which roman numbers are some digits after that. i need to remove all the roman numbers using regex in a generic way as i have many text files
XXII 99-1
V-2
(i)
(ix)
(vii)
regex for first and second ^[XIVC]\s[0-9]+\-\[0-9]+
regex for after 2nd line ^\([ixv]+\)
not able to match regex can any one help with this