private static void createPattern(){
  validIPV4Pattern=Pattern.compile(IPV4PATTERN,Pattern.CASE_INSENSITIVE);
  validIPV6Pattern=Pattern.compile(IPV6PATTERN,Pattern.CASE_INSENSITIVE);
  validEmailPattern=Pattern.compile(EMAILlPATTERN);
}

private static void createPattern ( ) { validIPV4Pattern = Pattern . compile ( IPV4PATTERN , Pattern . CASE_INSENSITIVE ) ; validIPV6Pattern = Pattern . compile ( IPV6PATTERN , Pattern . CASE_INSENSITIVE ) ; validEmailPattern = Pattern . compile ( EMAILlPATTERN ) ; }
create pattern to find email and ip address
