How would you go about extracting only the numbers in this string with JavaScript?

前端 未结 0 438
长发绾君心
长发绾君心 2020-12-02 19:37

I recently completed a coding test as part of a recruitment process. In one of the questions, I was asked to extract only numbers from a string.

The example test case

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