$(function(){
    $('.twitter_content').each(function(index, el)
        {
            if ($(el).hasClass('twitter_content')) {
                var parser = XRegExp("(.*?)((http://|www\\.)[\\w\\.\\/,\\?=]+)(.*)","gis");
                res = parser.exec($(el).html());

                if (res) {
                    _all  = res[0];
                    _pre  = res[1];
                    _http = res[2];
                    _post = res[4];

                    _html= _pre+'<a href="'+_http+'">'+_http+'</a>'+_post;

                    $(el).html(_html);
                }
            }
        }
    )
});
