too long

I am having some typical problems with string replace.

First of all, I am getting a 'Rich Text Format' on HTML by using Tinymce

Then , i process the HTML string with mysql_real_escape_string($_POST['desc']);

But, when i echo the values from database, there are random strings containing '= '. I tried removing it by

PHP:

html_entity_decode($d1);
str_replace('= ','', $d1);
preg_replace('= ','', $d1);
preg_replace('/= /','',$d1);
str_replace('= ','',$d1);

& by Jquery

$('#descc').text(function (i, old) {
     return old
         .replace('/= /', ' ');
});

but no use.

Please help...you can check the description HERE

Maybe try to use \s+ that replace one or more spaces

preg_replace('/=\s+/i','', $d1);

or better to use:

preg_replace('/=(\s| )+/i','', $d1);

It's replace more than one and space and   characters.