I have a working regex that matches ASCII alphanumeric characters:
string pattern = "^[a-zA-Z0-9]+$";
Match match = Regex.Match(input, pattern);
if (match.Success)
{
...
I want to extend this to apply the same concept, but include all latin characters (e.g. å, Ø etc).
I've read about unicode scripts. And I've tried this:
string pattern = "^[{Latin}0-9]+$";
But it's not matching the patterns I expect. How do I match latin unicode using unicode scripts or an alternative method?