prob a silly question but here goes:
I am looking to ignore any non-alphabetic characters and also capital letters from a string.
if (names[j].matches("[a-zA-Z]+")){
System.out.println(names[j] + ":");
}
I had something like that to test if there was a non-alphabetic character given and it works, just not sure on how to ignore them as such.
Any suggestions would be brilliant. Thank you.