Contact: aviboots(AT)netvision.net.il
41,375 questions
53,912 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 ** */