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

code:



<p>this is some text</p>

<script src="https://code.jquery.com/jquery-3.4.1.min.js"><</script>
<script type="text/javascript">
$(document).ready(function() {
$("p").text(function(index, text) {
return text.replace('this is some text', 'IT present');
});
});
</script>

result:
IT present