Код: Выделить всё
lines[i] = re.sub(r'(?
Подробнее здесь: [url]https://stackoverflow.com/questions/79707976/python-replace-substring-same-end[/url]
Код: Выделить всё
lines[i] = re.sub(r'(?
Подробнее здесь: [url]https://stackoverflow.com/questions/79707976/python-replace-substring-same-end[/url]