On Aug 18, 9:50 pm, "Rod Begbie" <[EMAIL PROTECTED]> wrote:
> Quick question to attempt to avoid reinventing the wheel.
>
> Is anyone aware of a Javascript library (JQuery or otherwise) which
> will find URLs in a chunk of text and either turn them into links, or
> make it easy for me to do so myself?  (Something like Perl's URI::Find
> module, or the urlizer formatter in Django?)

Hi, Rob!

Try googling for "regex to find URLs" (or variants thereof). That
returns LOTS of relevant links. Note that JavaScript uses mostly Perl-
compatible regular expressions, so you can also look into examples
posted for Perl and/or PHP code.

The first result to the above query looks to be relevant:

http://www.truerwords.net/articles/ut/urlactivation.html

Reply via email to