<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div>- Check "Regular Expression"</div><div>- Find: \n+</div><div>- Replace: \n</div><div>- "Replace All"</div><div><br></div><div>Or if you can't remember, copy 2 linefeeds into the Find field, 1 linefeed into the Replace field, and do "Replace All" until no more matches are found.</div><div><br></div><div>Gerd</div><div><br></div><div>PS: if there also is random space in the 'blank' lines, replace the "Find" expression with \n\s*\n</div><div><br></div><div><div><div>On Jun 22, 2013, at 1:21 PM, Lewy <<a href="mailto:lewy@chena.fastmail.us">lewy@chena.fastmail.us</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div bgcolor="#FFFFFF" text="#000000" style="font-family: Monaco; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; ">I often receive lists to publish. When they come in, there are blank lines between each item. Adding markup is easy. It _should_ be easy to remove the blank lines, but I'm a klutz with regex. Can someone suggest an easy way to bet rid of the blank lines.<br><br>_______________________________________________<br>textmate mailing list<br><a href="mailto:textmate@lists.macromates.com">textmate@lists.macromates.com</a><br><a href="http://lists.macromates.com/listinfo/textmate">http://lists.macromates.com/listinfo/textmate</a></div></blockquote></div><br></div></body></html>