I previously used an old CMS.

I moved to wordpress and I've done a lot of work, but I still have in my very old articles 1000+ internal links pointing to old urls.
I've set up redirects, but I would like to actually replace / delete the very old internal linking in the wordpress database.

I have 3 types of old linking :  

/articles.php?lng=fr&pg=425 .......... so like /articles.php?stuff   

/news.php?lng=fr&pg=1827 .......... so like /news.php?stuff   

/2456-actualite .......... so like /id-actualite 

I believe that "Search and replace" and "Better search and replace", both Wordpress plugins are only dealing with exact urls, while the ids are dynamic.

How would you delete those all links in the database, but keeping the hypertext of those links?

Thanks !