How to replace a regular expression using jQuery?

Hello.
Markup is
<b id="idname">some_content</b>

How to turn it in
<b id="idname">some_content2</b>

With the regular season?

$("#elementID").html("another string");

In my case, it is not podojdet.
Thank you.
June 7th 19 at 14:29
2 answers
June 7th 19 at 14:31
To obtain the content from the first element to connect with the right content and insert the second element.

Why is the regular season?
June 7th 19 at 14:33
https://jsfiddle.net/hxhj7h86/2/
The regular season just not needed

Find more questions by tags JavaScriptjQueryRegular expressions