Replacing urls with anchor tags

L

laredotornado

Hi,

I'm using Perl 5.8.9 on Mac 10.6.3. Does anyone have a handy regular
expression for replacing URLs with an anchor tag reference? I
stumbled across a couple of suggestions online ...

http://www.webmasterworld.com/forum13/4227.htm

but the second one falsely replaced

sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:
726)

with

sun.net.<a href="http://
www.protocol.http.HttpURLConnection.conne">www.protocol.http.HttpURLConnection.conne</a>ct(HttpURLConnection.java:726)


Thanks, - Dave
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,054
Latest member
TrimKetoBoost

Latest Threads

Top