I am trying to remove spaces form matched pattern using re.sub()
re.sub()
My text will be something such as:
text = Hi my name is Bob and I am taking