📌  相关文章
📜  javascript 在字符串中查找数字 - Javascript 代码示例

📅  最后修改于: 2022-03-11 15:03:30.607000             🧑  作者: Mango

代码示例1
the regular expression on looks for the first number character in the string

let numberInString = theString.match(/\d+/[0];