Contact: aviboots(AT)netvision.net.il
43,919 questions
57,323 answers
573 users
let str: string = "typescript 17 d 900 e 8542"; str = str.replace(/[^0-9 ]/gi, ''); console.log(str); /* run: 17 900 8542 */