Walkerbo

Email

Aug 7th, 2013
100
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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.     }
RAW Paste Data