Re: preg_replace for multiple instances?

From: Date: Tue, 25 Jul 2000 18:39:01 +0000
Subject: Re: preg_replace for multiple instances?
References: 1 2 3  Groups: php.general 
Request: Send a blank email to php-general+get-8113@lists.php.net to get a copy of this message
No, you don't need the g. Ed Vul wrote: > > Don't you also need to add a "g" to replace all instances? > as in > $pattern = "/[\/\\\[\]\*]/g" > > or am i thinking of something else? > > Ed >

« previous php.general (#8113) next »