Lets use a RegExp so that all __ get replaced and not just the first one: /__/g