/ Published in: PHP

This will remove all non-ascii characters / special characters from a string.
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
//Remove from a single line string $output = "Likening ‘not-critical’ with"; echo $output; //Remove from a multi-line string $output = "Likening ‘not-critical’ with \n Likening ‘not-critical’ with \r Likening ‘not-critical’ with. ' ! -."; echo $output;
Comments
