Sorry for my ignorance..

About the. "+$" What is it stand for?

Quote:
Originally Posted by pradeep
Code: Java
String str = new String();
 if (str.matches("^[a-zA-Z]+$")) // will only matches alphabets
 {
 }
 else {}