string s = "søme string";
s = Regex.Replace(s, @"[^\u0000-\u007F]+", string.Empty);
More Related Contents:
- How to convert a Unicode character to its ASCII equivalent
- How to get ASCII value of string in C#
- What’s the equivalent of VB’s Asc() and Chr() functions in C#?
- ASCIIEncoding.ASCII.GetBytes() Returning Unexpected Value
- C# hex to ascii
- ASCIIEncoding In Windows Phone 7
- How to convert from EBCDIC to ASCII in C#.net
- Memory leak in Data Access layer using enterprise library
- All songs are starting simultaneously instead of one after another
- How do I get the path of the assembly the code is in?
- Does Json.NET cache types’ serialization information?
- Fluent and Query Expression — Is there any benefit(s) of one over other?
- How to bind WPF button to a command in ViewModelBase?
- How do I set a cookie on HttpClient’s HttpRequestMessage
- Invert “if” statement to reduce nesting
- Json.NET Disable the deserialization on DateTime
- Matching strings with wildcard
- Complex type is getting null in a ApiController parameter
- Event Signature in .NET — Using a Strong Typed ‘Sender’? [closed]
- Unable to copy file – access to the path is denied
- How to get selected text of any application into a windows form application
- Async action filter in MVC 4
- Ignoring null fields in Json.net
- Extract image from PDF using itextsharp
- Custom Caret for WinForms TextBox
- How much faster is C++ than C#?
- Get dictionary value by key
- Checking for null before ToString()
- How can I disable compiler optimization in C#?
- Creating an empty file in C#