i need a preg match or something else
i need to filter al special characters )(*&^%$#@! and wierd things and numbers
i have this one but does not work with the "%" :
if(!preg_match("^[A-Za-z]+$^", $username))
and a email validation too
or if you know something else more effective let me know please
i need to filter al special characters )(*&^%$#@! and wierd things and numbers
i have this one but does not work with the "%" :
if(!preg_match("^[A-Za-z]+$^", $username))
and a email validation too
or if you know something else more effective let me know please