I\'m trying to check for a plus sign using PHP and regular expressions.
Here is the code I got so far.
preg_replace(\'#[^-a-zA-Z0-9_&; ]#\', \'\'
Add a + to the list.
preg_replace('#[^-a-zA-Z0-9_&; +]#', '', $abcd)
You might just need to escape the plus sign with a backslash: \+.
\+