/*!
	jQuery #urlcolorup v1.0.3
	(c) 2013 Amit Merchant
	updated: 2013-08-19
	license: GNU LESSER GENERAL PUBLIC LICENSE
	http://amitmerchant1990.github.io/urlcolorup
*/
(function($) {
	$.fn.urlcolorup = function() {
		$(this).wrap('<div class="jqueryUrlcolorup"><div class="highlighter"></div></div>').unwrap().before('<div class="highlighter"></div>').wrap('<div class="typehead"></div></div>');
		$(this).addClass("theSelector");
		$(this).on("keyup", function() {
			var str = $(this).val();
			$(this).parent().parent().find(".highlighter").css("width",$(this).css("width"));
			str = str.replace(/\n/g, '<br>');
			
			/* Added support for ftp: and mailto: statements also by @thekrugers */
			str = str.replace(/(https?:\/\/[^\s<]+)/g,'<span class="url">$1</span>');
			str = str.replace(/(ftp:\/\/[^\s<]+)/g,'<span class="url">$1</span>');
			str = str.replace(/(mailto:[^\s<]+)/g,'<span class="url">$1</span>');
			
			$(this).parent().parent().find(".highlighter").html(str);
		});
		$(this).parent().prev().on('click', function() {
			$(this).parent().find(".theSelector").focus();
		});

  	};
})(jQuery);

@@ -689,16 +689,233 @@
 gers */%0A
+%09%09%09str = str.replace(/(((%5BA-Za-z%5D%7B3,9%7D:(?:%5C/%5C/)?)(?:%5B-;:&=%5C+%5C$,%5Cw%5D+@)?%5BA-Za-z0-9.-%5D+%7C(?:www.%7C%5B-;:&=%5C+%5C$,%5Cw%5D+@)%5BA-Za-z0-9.-%5D+)((?:%5C/%5B%5C+~%25%5C/.%5Cw-_%5D*)?%5C??(?:%5B-%5C+=&;%25@.%5Cw_%5D*)#?(?:%5B%5Cw%5D*))?)/,'%3Cspan class=%22url%22%3E$1%3C/span%3E');%0A
 %09%09%09str =

Update jquery.urlcolorup.js