How can I replace all commas followed by spaces (\", \") with just commas (\",\")?
\", \"
\",\"
I don\'t want to replace spaces when they don\'t have a
You can do:
$str = str_replace(', ',',',$str);