I'm trying to add a space before and after any number in a string. For example, if I have JS35BX54NV33, I will get JS 35 BX 54 NV 33
I'm using this:
preg_replace("/(\\d)([a-z])/i", "$1 $2", $mystring)
But it only add space AFTER each number.
Thanks for your help!