I'm trying to remove all special character like
()[]{}~`@#$%^&*_+=/|.,،;:?؟><
but this code will remove all spec character plus non english character, i want only remove spec character not non-english. i means only accept english+non english but not special character.
preg_replace("/[^A-Za-z0-9\-]/", "-", $_REQUEST["title"]);