Re: Regex pattern to find URLs
Re: Regex pattern to find URLs
- Subject: Re: Regex pattern to find URLs
- From: Bertrand Mansion <email@hidden>
- Date: Sun, 7 Nov 2004 09:04:40 +0100
Hi,
Here is the pattern I use on cocoabuilder.com to transform urls in mails into
links:
/(http|ftp|https):\/\/([^\s"<]*[\w+#?\/&=;])/
You can see the result of your example urls there:
<http://www.cocoabuilder.com/archive/message/cocoa/2004/11/6/120934>
HTH
Bertrand Mansion
Mamasam
http://www.cocoabuilder.com
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden