regular expression to remove empty lines after text
snippet in javascript

regular expression to remove empty lines after text

user9891

Find: ^(?:[\t ]*(?:\r?\n|\r))+
Replace: ""