How to remove + and - signs from string immediate after coming after or before any character only not from other places in python3

后端 未结 0 1230
一生所求
一生所求 2020-12-01 20:18

Following input string INPUT => --- text1 +++ text2 @@ -71,0 +72,4 @@ +t+o+o+l OUTPUT => --- text1 +++ text2 @@ -71,0 +72,4 @@ tool

How to remove + and - signs

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