Contact: aviboots(AT)netvision.net.il
43,874 questions
57,260 answers
573 users
let str = "node.js 17.4 c++ 20 php 8 java 17"; str = str.replace(/[0-9]/g, '*'); console.log(str); /* run: node.js **.* c++ ** php * java ** */
let str = "node.js 17.4 c++ 20 php 8 java 17"; str = str.replace(/\d/g, '*'); console.log(str); /* run: node.js **.* c++ ** php * java ** */