using System;
using System.Text.RegularExpressions;
public class Test
{
public static void Main()
{
string str = "abc // t?% ?? ttt ,. y Ä Ö Ü ä, ö !";
string result = Regex.Replace(str, @"[^\p{L}0-9 -]", "");
Console.WriteLine(result);
Console.ReadLine();
}
}
dXNpbmcgU3lzdGVtOwp1c2luZyBTeXN0ZW0uVGV4dC5SZWd1bGFyRXhwcmVzc2lvbnM7CiAKcHVibGljIGNsYXNzIFRlc3QKewpwdWJsaWMgc3RhdGljIHZvaWQgTWFpbigpCnsKc3RyaW5nIHN0ciA9ICJhYmMgLy8gdD8lID8/IHR0dCAsLiB5ICDDhCDDliDDnCDDpCwgw7YgISI7CnN0cmluZyByZXN1bHQgPSBSZWdleC5SZXBsYWNlKHN0ciwgQCJbXlxwe0x9MC05IC1dIiwgIiIpOwpDb25zb2xlLldyaXRlTGluZShyZXN1bHQpOwpDb25zb2xlLlJlYWRMaW5lKCk7Cn0KfQ==