Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

javascript find and replace text in html

document.body.innerHTML = document.body.innerHTML.replaceAll("Coronavirus", "Your Mom");
document.body.innerHTML = document.body.innerHTML.replaceAll("COVID-19", "Your Mom");
 
PREVIOUS NEXT
Tagged: #javascript #find #replace #text #html
ADD COMMENT
Topic
Name
2+5 =