<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"><base href="x-msg://2019/"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Lines with nothing but blank space will match<div><br></div><div>\n *\n<br><div><div><br></div><div>just record a macro where you find and replace that with \n</div><div><br></div><div>then play it in files you want to cleanse.</div><div><br></div><div>There are likely better solutions</div><div><br></div><div>t</div><div><br></div><div>On 22 Jun 2013, at 7: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: Garamond; 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>