Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

3
  • Looks very half-done... should use new HashSet<char>("az09AZ") and String.Format("_x{0:x4}_", ch)... or maybe use Regex replace with callback... Commented Mar 10, 2019 at 22:36
  • @AlexeiLevenkov Thanks for remarks. But I don't understand why it is half-way done. It gives expected result. Commented Mar 11, 2019 at 7:36
  • I've made some minor edit to the post showing what I mean since it did not fit into a comment. Feel free to revert. If you fine with the change I think now it covers a all OP may be interested in and deserves upvote :) Commented Mar 12, 2019 at 6:40