Remove line breaks from start and end of string

前端 未结 0 557
面向向阳花
面向向阳花 2021-02-03 16:35

I noticed that trim() does not remove new line characters from the start and end of a string, so I am trying to accomplish this with the following regex:

return          


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