Slug without special language characters

Hi all, I’m trying to make a Slug Link and I don’t know how to get rid of commas and Polish special characters. I will be grateful for any help. Thanks.

Link: Slug creation

Hey there! Can you explain a little more what you want to do? What exactly do you want to replace the polish characters with?

Thank you for your reply. Below is the list of replacements:

switch ( c)
        {
            case 'ą':
                return 'a';
            case 'ć':
                return 'c';
            case 'ę':
                return 'e';
            case 'ł':
                return 'l';
            case 'ń':
                return 'n';
            case 'ó':
                return 'o';
            case 'ś':
                return 's';
            case 'ż':
            case 'ź':
                return 'z';
        }

Probably a lot of chained RegexReplace() formulas. That or take you string as input and reinterpret it with a formula like:

thisRow.Name.Split('').FormulaMap(
  Switch(CurrentValue,
    'ą', 'a',
    'ć', 'c',
    'ł', 'l',
   ... the rest of your replacements ...
    CurrentValue
  )
).Concatenate().Lower().RegexReplace(" ", "-")
3 Likes

Thank you so much!!!