I used the translate method in spark but I would like to have the same with using the spark regex (replace etc.). Could you Please help to re-write it?
df.withColumn(„name_surname”,translate(col(„name_surname”),”ĄąĆcĘeŁłŹźŻŚśÓóŃń”,”AaCcEeLlZzZSsOoNn”))