<?php $a = "LF5RF3RF3RF75"; echo preg_replace("/([FLR]\d*)/", "$1-", $a); // echo $a;
You have javascript disabled. You will not be able to edit any code.