Posted By

onefastsnail on 05/24/12


Tagged


Versions (?)

trim alpha numeric


 / Published in: Other
 

  1. $new_string = preg_replace("/[^a-zA-Z0-9\s]/", "", $string);

Report this snippet  

You need to login to post a comment.