Find&replace, replacing found word?

Hello!
I wrote in find:
(asm|auto) and in replace the same:
(asm|auto)

I wanted the letters to be replaced by bold blue ones, from default black.

I got the result, that word asm was replaced by blue bold strong text

And the word auto too.
How can I get that the words remain the same, just change color and shape?
Many thanks

So your question is: “how can I change the character style of certain words using find & replace?” ? What is the difference between “bold blue [characters]”, and “blue bold strong text”? Have you tried repeating the process for “asm” and “auto” separately?

  • Open “More options” and check “regular expression”.
  • Write asm|auto in the “Search for” field. That will find the letters asm or letters auto, also as part of words.
  • Put & in the “Replace with” field. That will leave the found letters unchanged, but only apply the new attributes.
  • Use the “Format” button to set the desired color and font weight. It will be noted under the replace field.