Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save buglessdr/fc0f8fd53b00738c67e0418a04811a5f to your computer and use it in GitHub Desktop.
Save buglessdr/fc0f8fd53b00738c67e0418a04811a5f to your computer and use it in GitHub Desktop.

Revisions

  1. @fomightez fomightez revised this gist Oct 17, 2014. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion remove blank lines regex.md
    Original file line number Diff line number Diff line change
    @@ -1,6 +1,6 @@
    REGEX remove blank lines:

    FROM: [http://www.ultraedit.com/support/tutorials_power_tips/ultraedit/remove_blank_lines.html](http://www.ultraedit.com/support/tutorials_power_tips/ultraedit/remove_blank_lines.html)
    FROM: http://www.ultraedit.com/support/tutorials_power_tips/ultraedit/remove_blank_lines.html

    FIND:

  2. @fomightez fomightez created this gist Oct 17, 2014.
    16 changes: 16 additions & 0 deletions remove blank lines regex.md
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,16 @@
    REGEX remove blank lines:

    FROM: [http://www.ultraedit.com/support/tutorials_power_tips/ultraedit/remove_blank_lines.html](http://www.ultraedit.com/support/tutorials_power_tips/ultraedit/remove_blank_lines.html)

    FIND:

    ```
    ^(?:[\t ]*(?:\r?\n|\r))+
    ```


    REPLACE:

    ```
    [LEAVE THIS EMPTY BECAUSE YOU DO NOT WANT TO REPLACE WITH ANYTHING]
    ````