Advertisement
Walkerbo

Email

Aug 7th, 2013
169
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.60 KB | None | 0 0
  1.     public String StringPasswordValidationRegex = "\\b(?!,|/)(\\w+)(?!,|/)((-?\\w+)*)?(?!,|/)(\\.{1})?(\\w*)?@{1}(\\w*)(?!,|/)((-?)(\\w*)?)(?!,|/)(\\.{1}\\w+){1,2}\\b";
  2.  
  3.  
  4.  
  5.  
  6. for (int QQ = 0; QQ<Email.length; QQ++){
  7.         String S = Email[QQ];
  8.         boolean T = U.CheckEmailValidComposition(S);
  9.         if (T == true) {
  10.             System.out.println(S + "   -   passed email test");
  11.         }
  12.         else {
  13.             System.out.println(S + "   -   failed email test");
  14.         }
  15.            
  16.     }
  17.     System.out.println();
  18.     System.out.println(" ---------------  end of email test ----------------------------------------- ");
  19.     System.out.println();
  20.  
  21.        
  22.        
  23.  
  24.     }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement