Regex and formatting text

I know it’s possible to run a regex to find certain words, but can I apply formatting such as strikethrough to the found text?