Js get numbers from string. Copy. const thestring = "1 fish 2 fish red fish blue fish"; const thenum = thestring.replace( /^\D+/g, ''); // replace all ...
確定! 回上一頁