Logic to consider underline and bold command between a hard space a word when determining if replace words should be done.