Dear Friends Kindly help me to validate a String in following way
a. If first character is an alphabet, input should be Alpha Numeric 24 characters
b. If first character is a digit, input should be minimum 15 and maximum 16 Numeric characters
I need a regular Expression or Java program example
Thanks in advance