Using jQuery it is possible to find and change parts of the text.
An important role is played by the selector who points to the text that needs to be changed.

Example how replace(change) text


<p>this is some text</p>

<script src=""><</script>
<script type="text/javascript">
$(document).ready(function() {
$("p").text(function(index, text) {
return text.replace('this is some text', 'IT present');

IT present