<?php $string = "\ntext\r\ntab\t\ntext\"quote'\"text"; var_dump( str_replace( ['"', "\r", "\n", "\t"], ["'", ''], $string ) );
You have javascript disabled. You will not be able to edit any code.