I have a text which contains latin numbers, like I, II etc which cometimes followed by dot (I.) and some other times without a dot (I). I want to remove them by using regular expressions in python. I can define the following function, but seems quite basic and takes lots of time. I was wondering if there any other way that I could remove them?
def clean(text):
text = text.replace("Ι.", '&')
text = text.replace("II.", '&')
text = text.replace("III.", '&')
text = text.replace("IV.", '&')
text = text.replace("V.", '&')
text = text.replace("VI.", '&')
text = text.replace("VII.", '&')
text = text.replace("VIII.", '&')
text = text.replace("IX.", '&')
text = text.replace("X.", '&')
text = text.replace("XI.", '&')
text = text.replace("XII.", '&')
text = text.replace("XIII", '&')
text = text.replace("XIV.", '&')
return text