Re: preg_replace question

From: Date: Wed, 20 Nov 2002 20:41:09 +0000
Subject: Re: preg_replace question
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-125323@lists.php.net to get a copy of this message
--- electroteque <daniel@electroteque.org> wrote: > how could i remove http://www. ot of a url string using preg_replace? No need to reinvent the wheel for this. Just use parse_url() instead: http://www.php.net/manual/en/function.parse-url.php Chris

« previous php.general (#125323) next »