public static String extractAddrSpec(String address){
  Matcher match=NAME_ADDR_EMAIL_PATTERN.matcher(address);
  if (match.matches()) {
    return match.group(2);
  }
  return address;
}

public static String extractAddrSpec ( String address ) { Matcher match = NAME_ADDR_EMAIL_PATTERN . matcher ( address ) ; if ( match . matches ( ) ) { return match . group ( 2 ) ; } return address ; }
helper method to extract email address from address string .
