How can I strip trailing full stop (period) from text nodes

前端 未结 0 746
臣服心动
臣服心动 2021-02-04 20:53

if I have a text node with a trailing full stop (or period in US english) what expression can I use to strip the full stop and leave the remainder?

e.g input



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