I just cannot find the answer anywhere. I would have to filter a string so that it would contain only digits. Example: “1234gg?” should become “1234”.
I’ve tried string.Replace("![0-9]","") and some other ways to do it, but it doesn’t work.
How would you do this, any ideas? Thanks in advance!