Şu şekilde bir kodum var:
[CODE lang="csharp" title="Kod"]char c; //Bunun değeri kodun başka kısmında atanıyor. Boş kalmıyor.
if (Regex.IsMatch(c.ToString(), "[A-Za-z0-9]"))
{
MessageBox.Show("OK");
}[/CODE]
Burada İngilizce karakterler gelince kod çalışıyor ama ben ü ve ğ gibi Türkçe karakterlerin ve + ve ! gibi sembollerin de dahil olmasını istiyorum. Nasıl yapabilirim?
What is the easiest way to match non-ASCII characters in a regex? I would like to match all words individually in an input string, but the language may not be English, so I will need to match thing...
What is the easiest way to match non-ASCII characters in a regex? I would like to match all words individually in an input string, but the language may not be English, so I will need to match thing...
What is the easiest way to match non-ASCII characters in a regex? I would like to match all words individually in an input string, but the language may not be English, so I will need to match thing...