<?php $re = '/(\d+)/m'; $str = 'JS35BX54NV33'; $subst = ' $1 '; $result = preg_replace($re, $subst, $str); echo "The result of the substitution is ".$result;
You have javascript disabled. You will not be able to edit any code.