Substituindo \ r \ n com PHP

Tenho um formulário de postagem, que insere meu texto em um banco de dados MySQ

Eu us

$post_text = mysql_real_escape_string(htmlspecialchars($_POST['text']));

e deseja substituir o\r\n que foi adicionado automaticamente.

Eu tente

$text = str_replace('\\r\\n','', $text);
$text = str_replace('\r\n','', $text);
$text = str_replace('\\R\\N','', $text);
$text = str_replace('\R\N','', $text);
$text = str_replace('/\r\\n','', $text);
$text = str_replace('/r/n','', $text);
$text = str_replace('/\R\\N','', $text);
$text = str_replace('/R/N','', $text);

mas\r\n está sempre incluído nas minhas entradas do banco de dado

Como posso consertar isso

questionAnswers(5)

yourAnswerToTheQuestion