modified regex for Any of the keywords to remove double whitespaces