I have one question related with regular expression. In my case, I have to make sure that first letter is alphabet, second onwards it can be any alphanumeric + some special char
I think the simplest answer is to pick and match only the first character with regex.
String str = "s12353467457458"; if ((""+str.charAt(0)).matches("^[a-zA-Z]")){ System.out.println("Valid"); }