Php question

How can I make this not remove the “+” in the number?

“$directdid = preg_replace(”/[^0-9._XxNnZz[]-]/" ,"", trim($directdid));"