Regex to limit (all the matches or none) at the end to one

后端 未结 0 398
深忆病人
深忆病人 2020-11-30 00:22

I\'m trying to limit the . at the end to only one in a string. For example,

line = "python...is...fun..."
相关标签:
回答
  • 消灭零回复
提交回复
热议问题