Module for managing content links

Hello experts. I am new in this forum and not sure if it is the right place for asking this question or not.
I have to check all the links inside the huge number of posts of a website based on Drupal 7.x.
The problem is that, authors addressed links like this :
but I want to convert them to /node1. Because in future we want to change our domain.

So is there a module or scrips that checks all the contents for this link of links and changes them to the dynamic addressing? Or I have to go into each post one by one?

Thanks in advance.

Drupal version: