Re: [OT] help with filtering chars using reg exp in PHP

2002-01-07 Thread Marcel Hicking
preg_replace(/[^a-z0-9]/,,$foo) http://php.net/manual/en/function.preg-replace.php http://www.perldoc.com/perl5.6/pod/perlre.html Cheers, Marcel sib [EMAIL PROTECTED] 7 Jan 2002, at 18:14: hello all, for the life of me i cant figure out the reg exp PHP manual, can someone please help me

Re: [OT] help with filtering chars using reg exp in PHP

2002-01-07 Thread Marcel Hicking
preg_replace(/[^a-z0-9]/,,$foo) http://php.net/manual/en/function.preg-replace.php http://www.perldoc.com/perl5.6/pod/perlre.html Cheers, Marcel sib [EMAIL PROTECTED] 7 Jan 2002, at 18:14: hello all, for the life of me i cant figure out the reg exp PHP manual, can someone please help me

[OT] help with filtering chars using reg exp in PHP

2002-01-06 Thread sib
hello all, for the life of me i cant figure out the reg exp PHP manual, can someone please help me with ereg_replace() or preg_replace() in PHP. i have a string wherein i want to replace all occurences of characters outside of a-z0-9 with nothing. tia, sib

[OT] help with filtering chars using reg exp in PHP

2002-01-06 Thread sib
hello all, for the life of me i cant figure out the reg exp PHP manual, can someone please help me with ereg_replace() or preg_replace() in PHP. i have a string wherein i want to replace all occurences of characters outside of a-z0-9 with nothing. tia, sib