Find text with Regex Patter and replacing the extracted text with highlights

Hello I’m extracting text using regex withing the find and replace condition. My goal is to replace the text the regex extracted with a highlighted version of that same text. See image:


The find allows you to use a regex pattern but how do I replace that text with the highlighted version?

If it was as simple as checking the box to use a regex pattern in the “replace” field like in the “find” field that would have been nice.
regex pattern for example only:

I appreciate the support!

Why not just ask ChatGPT to highlight it using BBCode and the color #3D3F4A?