Contact: aviboots(AT)netvision.net.il
31,111 questions
40,781 answers
573 users
let str = "<title>node.js</title> <p>c++</p> <a href='https://www.beforebuydomain.com'>beforebuydomain.com</a>"; str = str.replace(/<[^>]*>?/gm, ''); console.log(str); /* run: node.js c++ beforebuydomain.com */