I am trying to get emails from a String which is like:
"*** [email protected]&&^ [email protected]((& ";
private static Pattern p = Pattern.compile("(^[a-zA-Z0-9_.+-]+@[a-zA-Z0-9-]+\\.[a-zA-Z0-9-.]+$)");
The code above can get one email.
How can I get all?