Hello!


Is there any way I can replace text dynamically on a page using Javascript?

Caveat: I don't want to use div or span nodes, instead I want to target a text string and change that.

E.g., given the following HTML:

<h1>Hello {name}</h1>


I want to do the following replacement:
replace {name} with "World".


Possible at all?