Hi,
Just windering how to delete att the "special characters" from this string: "He!llo Wo%rld" so that the string only reads "HelloWorld", no spaces are allowed but _ is allowed.
A code example would be greatly appreciated!
Thanks!
<?php $string="he!llo_w%orld"; $string = preg_replace("/[A-z0-9_]/","",$string); echo $string; ?>