Java 檢查email格式的regex如下. String regex = "^\\w{1,63}@[a-zA-Z0-9]{2,63}\\. ... true System.out.println(p.matcher("[email protected]").find()); ...
確定! 回上一頁