var text = document.querySelector(".text"); var search = document.querySelector("input"); const btn = document.querySelector("button"); btn.onclick = () => { const word = search.value const remove = new RegExp("<(/)?b.*?>","g") const match = new RegExp(`...