Replacing a regex find and replace with a split then join. This avoids the complication of needing to escape the text used in the regex.