Change hard coded base urls in blogs

i want to change hard coded base URLs in blog contents, referencing internal pages, as i am changing my domain name.
i have 100+ blogs so manual change takes too much time.
i don’t think301 redirect works for my case either, as links are in blog text content. please give some insights, thanks!

@Muhammed_Muneer - providing an example of a before and after url would be super useful to giving you advice.

i.e. I want to redirect to