Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer

http:// and ftp:// parser

by Elihu (Novice)
on Feb 12, 2000 at 05:17 UTC ( #3413=snippet: print w/replies, xml ) Need Help??
Description: A regex to find http:// and ftp:// . I needed this about an hour ago and didn't see it here, so now that I have it I'm sharing. :)
s#(http://[\w./=\?-]+)#<A HREF=\"$1\">$1</A>#sgi;
Replies are listed 'Best First'.
Re: http:// and ftp:// parser
by Anonymous Monk on May 05, 2003 at 04:09 UTC
    Hey is this perl how do i use it to check and make all email addresses in that scalar into mailto: links ??? please post and email
Log In?

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: snippet [id://3413]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (4)
As of 2022-01-25 02:25 GMT
Find Nodes?
    Voting Booth?
    In 2022, my preferred method to securely store passwords is:

    Results (65 votes). Check out past polls.