javascript正则表达式emailvar reg = ^w+((-w+)|(.w+))*@[A-Za-z0-9]+((.|-)[A-Za-z0-9]+)*.[A-Za-z0-9]+$ if (!reg.test(email)) { alert("2023-03-21JavaScript180