Re: [PHP] Re: replacing chars in input

2004-03-23 Thread David T-G
Justin, et al -- ...and then Justin Patrin said... % % David T-G wrote: % % >I would like to make things easier for my users and replace all of the % >garbage characters % > % > `'";:[EMAIL PROTECTED]&*()[]{}<>/?\|+= % > % >plus white space (\s) with underscores in the input. I am, however, %

[PHP] Re: replacing chars in input

2004-03-23 Thread Justin Patrin
David T-G wrote: Hi, all -- I would like to make things easier for my users and replace all of the garbage characters `'";:[EMAIL PROTECTED]&*()[]{}<>/?\|+= plus white space (\s) with underscores in the input. I am, however, having trouble getting my regexp to work. I can comfortably do $i