<?php $where = 'a, b, c, d'; $patterns = "/[ ]/"; echo preg_replace('/\w+./i', '$1', 'a1, b2, c3, d4');; ?>
You have javascript disabled. You will not be able to edit any code.