I"m currently writing a ASP.NET MVC application in which I search twitter for new tweets. When however I use the language filter I still get some messages in japanese or russian.
I tried using a Regular expression: [^\x20-\x7E\wáéíóäëiöúàêèììçù… ] which should tell me when a string contains japanese/NON ASCII characters. At least
This is my code:
Regex languagesReg = new Regex(@"[^\x20-\x7E\wáéíóäëiöúàêèììçù… ]");
lstEntries.RemoveAll(e => languagesReg.IsMatch(e.Content));
Or maybe someone might be able to help me find an other workaround?
Thanks in advance
View Complete Post