I think it would be better to have this guy change the text himself
You can acheive this in a fairly uneconomical way using
- Code: Select all
<script type="text/javascript">
// get the text in the page
var bodytext = document.getElementsByTagName('body')[0].innerHTML;
// now loop through 5 times
for (i=0; i< 5; i ++)
{
// replace the word (with matched word to preserve case
bodytext = bodytext.replace(/[\s]{1}(telecom)[\s]{1}/i, " $1munications ");
}
// write the new body
document.getElementsByTagName('body')[0].innerHTML = bodytext;
</script>
Place that just before the </body> tag in your document.