Re: removing parts of a string...
| From: | sven | Date: | Thu, 24 Jul 2003 14:51:28 +0000 |
| Subject: | Re: removing parts of a string... | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-156656@lists.php.net to get a copy of this message | ||
hi,
Juan Nin wrote:
> From: <Tristan.Pretty@risk.sungard.com>
>
>
>> I wanna be able to take a URL
>> http://www.mysite.com/downloads/file_1_a.pdf
>>
>> and then remove:
>> http;//www.mysite.com/
> [...]
>
> look at preg_match()
... or preg_replace();
>
> regards,
ciao SVEN