I am trying to remove accents from a string using REreplace but it is just not working.
Here is the string:
Alertas del Condado: Por favor, háganos saber si usted recibe este mensaje. Gracias.
Trying to remove the accent in "háganos" and replace it with "a".
Here is the code:
Rereplace(trans_sms, 'á', 'a', 'all')
Where trans_sms is the string.
I have been trying to search but cannot figure out why it is not replacing.
Thank you in advance for anyone's help!
You don't use ColdFusion, you use Java.
Apache Commons StringUtils, function stripAccents
Output: