Check out example codes for "java tester si un caractere est une lettre". It will help you in understanding the concepts better.

Code Example 1

if (!/^[a-z]+$/i.test(nom)){

Learn ReactJs, React Native from akashmittal.com