<?php $a ="NewYorkNewYork"; $reg="/[a-z]([A-Z])/"; echo preg_replace($reg, "$1", $a);
You have javascript disabled. You will not be able to edit any code.