How can I extract a part(number) of a string which contains special characters

前端 未结 0 1184
逝去的感伤
逝去的感伤 2020-12-05 08:59

I hope that you can help me to extract numbers from strings.

I get a string in two possible ways:

  1. y = required number e.g. "60"
  2. x = re
相关标签:
回答
  • 消灭零回复
提交回复
热议问题