Best regex (in Python) to not have double space in result when substring is removed?

前端 未结 0 1777
名媛妹妹
名媛妹妹 2020-12-08 04:02

I am trying to remove a substring using regex in Python.

The substring could be the entire string, at the beginning, in the middle, or at the end.

The goal is

相关标签:
回答
  • 消灭零回复
提交回复
热议问题