Remova atrás de vírgula php

$print=preg_replace('/^([^,]*).*$/', '$1', $print);
Andrew Lautenbach