How to format **text** as bold?

API response returns bold text as **text** - any quick tips to format this as bold? Find and replace would just replace both ** pairs at the same time

Here is one way to do it, not sure if it’s the most efficient though.

Use the following regex to find and replace the text between ** pairs.
**(.*?)**

In the next step find and replace the ** with empty text.

3 Likes

That’s how I would do too! Just to further explain because it’s not obvious for those who don’t know regex… to substitute you use “$1” to substitute what’s inside the first parentheses, $2 to substitute what’s inside the second, and so on…
So it would find : …(.*?)…
and replace: $1

(using [b] for the bold setting)

2 Likes