<?php $text = '"x", "x,y" , "x,y,h"'; echo preg_replace_callback('/"[^"]+"/', fn($m) => str_replace(',', '', $m[0]), $text);
You have javascript disabled. You will not be able to edit any code.