Sounds like you need URI::Find, or am I missing something obvious?

In reply to Re: How to recognize url in text and convert to hyperlink, unless already in anchor by pingo
in thread How to recognize url in text and convert to hyperlink, unless already in anchor by Anonymous Monk

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":