How to search a string in C # using Regex, ignoring accents;
For example, in Notepad ++ for ancient Greek regular expression searches: [[= α =]] will return: α, ἀ ἁ, ᾶ, ὰ, ά, ᾳ, ....
I know that Notepad ++ uses the PCRE standard. How to do it in C #? Is there an equivalence syntax?
Edit
I already tried string normalization. Doesn't work in Greek. for example: "ᾶ" .Normalize (NormalizationForm.FormC) will return ᾶ. It seems that normalization removes emphasis only in the case of "Combining characters." The is character is a separate character in Unicode!
source
share