How to find all the 'NA' characters in a HMLT page and replace it with "and invalid"

how to find all the "NA" characters in a HMLT page and replace it with "and invalid"
with native JS

Feb.26,2021

var str = "NAsfdsfNAisNA"

var newStr = str.replace(/NA/g,"")
console.log(newStr )//sfdsfis

by the way, you can understand
https://codeshelper.com/a/11.

by reading my article on regularization.

document.body.innerHTML=document.body.innerHTML.replace ('NA',' and invalid') try

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1e78d11-708.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1e78d11-708.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?