var re = /^\<(\w+\s\w+)>\s(\w+@\w+.\w+)$/;
\w 还包含下划线哦
var re = /\w+/; alert(re.test("1_w"));
Sign in to make a reply
一个有家的温馨
var re = /^\<(\w+\s\w+)>\s(\w+@\w+.\w+)$/;