Typescript String Match Regex Js Replace Global Entry