So for
the sake of removing all of this clutter here are some simple regular
expression patterns to find and replace with empty string. First, to enable
searching by regular expressions:
Search dialog |
If you want to: | Use regular expression: |
Remove regions | {[#]<region[^]*}|{[#]<endregion[^]*} |
Remove comments | [^]*//[^]* |
Remove XML comments | [^]*///[^]* |
Remove empty lines | {^:Wh}{$:Wh} |
0 comments:
Post a Comment