Replace an array (with identical values) with another array in the_content

I found this article by Jeroen Sormani which solved my problem

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)