remove behind comma php

Solutions on MaxInterview for remove behind comma php by the best coders in the world

showing results for - "remove behind comma php"
Mirko
12 Feb 2016
1$print=preg_replace('/^([^,]*).*$/', '$1', $print);