Typescript String Replace Only First Occurrence Crossword