1 2 3 4 5
function(text) { return text.replace(/[A-Za-z]+:\/\/[A-Za-z0-9-_]+\.[A-Za-z0-9-_:%&\?\#\/.=]+/g, function(url) { return url.link(url); }) }
urlize text