I am using the following line to correct a string:
$dbname =preg_replace("/[^A-Za-z0-9 _-]/", '', $dbArr[0]);
However I have a few names with &!().
At the moment these special characters are removed from the string.
I would like to at least add &!() but if possible ()&*<>! to the above pattern,
but I get errors when I add them.
Can someone help me how to add these special characters ?