Should this be more targeted to avoid changing any external links in the content? Perhaps something like `href.replace(/https:\/\/www.(.*?).allplayers.com/, 'https://platform.$1.allplayers.com')`.