I have got a serialized array, and I need to replace double quotes in all places like this:
...s:30:\"test \"is\" & test\";...
to
Try
preg_replace("/([^:])(\")([^;:])+/isU","$1"$3",$arr);