Deleting blank lines within a selection (using a macro) [SEC=UNCLASSIFIED]

Andrew Hood ajhood at fl.net.au
Sat Jan 31 06:05:16 CET 2009


Mike Macaskill wrote:
> Try
> replace_in_selection("^[ |\\t]*\\n", "", "regexNoCase")

replace_in_selection("^\\s*\\n", "", "regex")

works no matter what the whitespace chars are.

-- 
There's no point in being grown up if you can't be childish sometimes.
                -- Dr. Who


More information about the Discuss mailing list