How to remove accents
I built a workflow to translate from Portuguese to English, using google translate.
It is working fine for languages without accent (ie, from English to portuguese).
In summary, I created this:
- replace empty space between letters with %20 and create a variable [text].
- open the in app browser with the URL https://translate.google.com/#pt/en/[text]
But Portuguese has several accents and I need a simple way to remove all of them and replace with the same letter, but without accent.
Replace é to e
Replace à to a
Anyone has some idea on how to do that?
Is there a regular expression method to handle this?
Or do I need to create a find and replace workflow for each of the words?
Instead of manually replacing spaces with
%20and removing accents, you can just use the URL Escape action. Here's a working example:
This doesn't remove the accents, but it converts them to a percent-encoded form that can be used in the URL.
Perfect! Thank you!