Last active
August 25, 2017 08:23
-
-
Save 0x49D1/6b9751a252046511c8017c768ee20fe6 to your computer and use it in GitHub Desktop.
Escape LTR/RTL/TAB/Line endings
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
string t = Regex.Replace("\u2649\u0009010\u200F260\\15200F609", @"[\u0009\u200F\u200E\u000D]", ""); | |
Console.WriteLine(t); // \u0009 - TAB, \u200F - RTL, \u200E - LTR, \u000D - new line (carriage return char (cr)) and this will leave only: ?10260\15200F609 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment