Community Patterns

Community Library Entry

0

Regular Expression
Created·2022-07-03 22:50
Flavor·ECMAScript (JavaScript)

/
^(?:[\t ]*(?:\r?\n|\r))+
/
gm
Open regex in editor

Description

Remove all empty lines from text document.

Submitted by anonymous