Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import re
- with open('input.txt') as f:
- text = f.read()
- results = re.sub(r"(\d{2}).(\d{2}).\d{2}(\d{2})", r"9 марта 2022 г.", text)
- print(results)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement