Skip to main content

Hi,

I have a scenario with a random string test;

"Häradålderön" which my goal is to se the result to "Haradalderon".

Basically replace any <ä, å, ö] with ta, a, o] letter.

 

I guess using regular expression could do it, but I find it tricky since it might be three sequences to search for ä, å, ö. Any ideas appreciated!

Did you have a look at the StringDiacriticRemover from the Hub? I believe it should do what you're looking for: https://hub.safe.com/publishers/safe-lab/transformers/stringdiacriticremover


Have you looked at the StringPairReplacer?

image


Did you have a look at the StringDiacriticRemover from the Hub? I believe it should do what you're looking for: https://hub.safe.com/publishers/safe-lab/transformers/stringdiacriticremover

Haven't looked into this yet, thanks for the suggestion!


Have you looked at the StringPairReplacer?

image

Great! This was a very easy solution, thanks!


https://hub.safe.com/publishers/spatial-kat/templates/stringreplacer_multiple


@pradip​ , thanks for the link!


Reply