Posted By

jamessullenriot on 05/17/12


Tagged

regex php


Versions (?)

PHP Regex


 / Published in: PHP
 

Regex to remove special characters

  1. Regex to remove special characters
  2. $value = preg_replace("/[^A-Za-z0-9]/","",$value);

Report this snippet  

You need to login to post a comment.