title: Regex for validating alphabetics and numbers in the localized string
body: <p>I have an input field which is <strong>localized</strong>. I need to add a validation using a regex that it must take only alphabets and numbers. I could have used <code>[a-z0-9]</code> if I were using only English.</p>
  
  <p>As of now, I am using the method <code>Character.isLetterOrDigit(name.charAt(i))</code> (yes, I am iterating through each character) to filter out the alphabets present in various languages.</p>
  
  <p>Are there any better ways of doing it? Any regex or other libraries available for this?</p>