<?php $string = "706AN=0,503-PP=0,504-PP=0,519=0,606BOX=0,417=2"; echo preg_replace( '#([^=]+)=(\d+),?#', "Code \$1 has quantity \$2\n", $string );
You have javascript disabled. You will not be able to edit any code.