http から始まっている文章に自動的にリンクをつける

$(function(){
  $(''.sample p'').each(function(){
    $(this).html( $(this).html().replace(/^((http|https|ftp):\\/\\/[\\w?=&.\\/-;#~%-]+(?![\\w\\s?&.\\/;#~%"=-]*>))/g, ''$1 '') );
  });\n});
更新日:
作成日: