I´m using tinyMCE and when I send my text with an url this is what I get:

Code:
<p><a href=\"aaa\" target=\"_blank\">asdas</a></p>
How can I do to normalize it?
I´d like to get:
<p><a href='aaa' target='_blank'>asdas</a></p>

I´ve tried
Code:
$txt = str_replace("/\/","", $_POST['text']);
$txt = str_replace('"',"'", $txt);
Didn´t work.