Re: [PHP] strip urls

2006-09-11 Thread Merlin
Thank you! That workes excellent! Merlin Christopher Weldon schrieb: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Merlin wrote: RalfGesellensetter schrieb: Am Montag 11 September 2006 15:36 schrieb Merlin: I am trying to strip URL's out of a text. There is a function for this in php, but

Re: [PHP] strip urls

2006-09-11 Thread Christopher Weldon
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Merlin wrote: > RalfGesellensetter schrieb: >> Am Montag 11 September 2006 15:36 schrieb Merlin: >>> I am trying to strip URL's out of a text. There is a function for >>> this in php, but I can't find it anywhere. Can sombody help? >> >> hi, it's strip

Re: [PHP] strip urls

2006-09-11 Thread Merlin
RalfGesellensetter schrieb: Am Montag 11 September 2006 15:36 schrieb Merlin: I am trying to strip URL's out of a text. There is a function for this in php, but I can't find it anywhere. Can sombody help? hi, it's strip_tags and only removes the tags (the plain text that would be displayed in

Re: [PHP] strip urls

2006-09-11 Thread RalfGesellensetter
Am Montag 11 September 2006 15:36 schrieb Merlin: > I am trying to strip URL's out of a text. There is a function for > this in php, but I can't find it anywhere. Can sombody help? hi, it's strip_tags and only removes the tags (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.p

Re: [PHP] strip urls

2006-09-11 Thread Mariano Guadagnini
You may try using regular expressions for that. Something like preg_replace("http:\/\/.*\s","",$your_var). That's a simple example, but you can change to suit your needs, check the online help for more info about. HTH, Mariano. Merlin wrote: Hi there, I am trying to strip URL's out of a te