[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