(function($)
{  
	// initiate the jQuery Plugin  
	$.fn.clickURL = function()
	{  
		var regexp = /((ftp|http|https):\/\/(\w+:{0,1}\w*@)?(\S+)(:[0-9]+)?(\/|\/([\w#!:.?+=&%@!\-\/]))?)/gi; 
		// loop through each matched selector  
		 this.each(function() {  
			$(this).html(
				$(this).html().replace(regexp,'<a href="$1">$1</a>')
			);
		 });  
	 // return itself to maintain chainability  
	 return $(this);
	}
})(jQuery);