Pattern p = Pattern.compile(".+@.+\\.[a-z]+");
-------------
boolean isValidChar = (Character.isLetter(character) || Character.isSpaceChar(character) || character
=='\'');
------
These 2 statesments are having appeared in a code seperately,Pls any one can explain what is doing those?
specially the first one