- Code: Select all
function stripcc($str) { return preg_replace(array('/(([0-9]{1,2}(,[0-9]{1,2})?)?)/i','//i
','//i
','//i
'),'',$str); }
it looks weird in here but it should work, go fix sumsar.
function stripcc($str) { return preg_replace(array('/(([0-9]{1,2}(,[0-9]{1,2})?)?)/i','//i
','//i
','//i
'),'',$str); }
Sumsar wrote:what to fix?, every code you make look weird
Users browsing this forum: No registered users and 1 guest