📅  最后修改于: 2022-03-11 15:03:30.607000             🧑  作者: Mango
the regular expression on looks for the first number character in the string
let numberInString = theString.match(/\d+/[0];