While iterating through different strings I sometimes stumble upon characters that contain strings such as "ś" or even just a " ' " and I want to replace those every single character with a simple "_".
So the code I would want is one that meets the following requirements: if character is not a,b,c....Z or a number then character = "_".
I wonder what is the most elegant way to implement such a code.
Thanks in advance.