programming.torensma.net: Code Snippets

Regex to match all uri’s (http, ftp, mailto)

Very usefull regex for finding and replacing all uri’s in a document…

((mailto\\:|(news|(ht|f)tp(s?))\\://){1}\\S+)

You can follow any responses to this entry through the RSS 2.0 feed.