Replace 4, but not 40
Posted: Mon Jul 25, 2005 6:13 am
Hi
How can I modify the following regexp
so it outputs "40,S,40,S".
regards tores
How can I modify the following regexp
Code: Select all
echo preg_replace("/,4(,|)/", ",S", "40,4,40,4"); // Outputs 40,S40,Sregards tores