On 18 Mar 2004 Richard Davey wrote:
> Nope, because in the only reference book I had to hand it said the ^
> matched the start of a string so it didn't occur to me to try it.
>
> Thanks to John I now know when used in a block it's no longer limited
> to the start of the string. The code you poste
Hello Chris,
Thursday, March 18, 2004, 3:28:01 PM, you wrote:
CH> did you try
CH> $output = ereg_replace('[^[:alnum:]]', '', $string);
CH> ?
Nope, because in the only reference book I had to hand it said the ^
matched the start of a string so it didn't occur to me to try it.
Thanks to John I no
2 matches
Mail list logo