I am creating an XML file for making payments, and I have a limit on the full usernames. This parameter accepts only alphabetic characters (a-ZAZ) + spaces to separate first and last names.
I can’t filter it in a simple way, how can I create a regular expression or filter to get the desired result?
Example:
'Carmen López-Delina Santos' should be 'Carmen LopezDelina Santos'
I need to convert the decoration vowels to single vowels as follows: á> a, à> a, â> a, etc .; and also remove special characters in the form of periods, hyphens, etc.
Thanks!
java string regex
Enrimr
source share