python search character \"x\" next step delete this character \"x\" + character \"x\" -1 postion in string
Example x=\"1. 520 2. 529\"
I am g
import re re.sub(r'(.\.)', '', a)
Where a is the string you want to replace in.
a