Re: [PHP] preg_replace single quote

2005-08-03 Thread Psystorm
Paul Nowosielski wrote: Hi All, I'm trying to strip single quotes using preg_replace() with no luck. Can someone give me some advice on achieving this? TIA! $string = preg_replace('/\'/', '', $string); should work fine Kind regards, Thomas Obermüller -- PHP General Mailing List (http:/

[PHP] preg_replace single quote

2005-08-03 Thread Paul Nowosielski
Hi All, I'm trying to strip single quotes using preg_replace() with no luck. Can someone give me some advice on achieving this? TIA! -- Paul Nowosielski -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php