james438
07-11-2007, 05:55 PM
Hi,
another PCRE question for you. This is not important either. is there a way to replace a whitespace with a whitespace? for example
$string="today is";
preg_replace("/\s/","/\s/",$string);
echo $string;
what I am getting when I echo the string is: today/\s/is
This is a low priority question for me. I am just curious :)
Thanks for reading!
another PCRE question for you. This is not important either. is there a way to replace a whitespace with a whitespace? for example
$string="today is";
preg_replace("/\s/","/\s/",$string);
echo $string;
what I am getting when I echo the string is: today/\s/is
This is a low priority question for me. I am just curious :)
Thanks for reading!