//Email:
var re=/\w+([-+.]\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*/;
//URL:
var re = /http://([\w-]+\.)+[\w-]+(/[\w- ./?%&=]*)?/;