Re: New to php3 - pattern matching?

From: Date: Sat, 22 Jul 2000 16:10:22 +0000
Subject: Re: New to php3 - pattern matching?
References: 1 2 3  Groups: php.general 
Request: Send a blank email to php-general+get-7693@lists.php.net to get a copy of this message
On Sat, 22 Jul 2000, Geoff Cox wrote: > Thanks for the help - got it going with > > $pattern = "/\//"; > $replacement = ""; > $result = preg_replace($pattern, $replacement, $newterm); > $term =$result; > > Seems long winded compared to Perl... $result = preg_replace("'/'", "", $newterm); -Andrei When we eliminate the impossible, whatever remains, however improbable, must be true. -- Sherlock Holmes

« previous php.general (#7693) next »