I have the following String + Example + Test + Test2 and using preg_replace I would like to get the following result +Example +Test +Test2
I have been trying to use the following code
preg_replace("/\s*([\+])\s*/", "$1", $string)
but this one is returning
+Example+Test+Test2