Keep images between texts

Hello,
i have a text like

“hello, good morning. we are going to discuss something serios today.<image(https://example.com/solved-rare-banner1.jpg)> This is our topic.”

i want to add this text in app after replacing all <image(https://example.com/solved-rare-banner1.jpg)>
with actual images. the problem is the url “https://example.com/solved-rare-banner1.jpg” cannot be fixed as url maybe changed. i want to replace all <image(url)> tags with url in that