When parsing large text files. Some of them have non standard characters.
We just want to parse a file and replace anything that is not found on a keyboard.
Use this Regular Expression for above problem
Regex rx = new Regex("[^\x20-\x7E]");
Quick Notes for easy understanding. Chapters are on C#.Net,Linq,OOPS,Design Patterns,UML,Tools for development, Databases and many others. - Sid
Paste Here Your Source Code | ||||||||||||||
Source Code Formatting Options | ||||||||||||||
|
||||||||||||||
Copy Formatted Source Code | ||||||||||||||
Preview Of Formatted Code |
No comments:
Post a Comment