Toad World® Forums

Remove blank lines in editor?

When pasting queries from OEM, blank lines are inserted between every line of code. Is there an easy way to remove these blank lines in Toad's editor without re-formatting the statement?

Regex will bake you a cake if you know how to ask it.

Hey guys, could it also be controlled by EOL conversion or different encoding?
Anything in the Editor Options behind the scenes that can be set differently?

Maybe? Not sure. I've seen this when copying/pasting from webpages.

Thanks! I was using g/^$/d in vi, but didn't know how to do that in Toad.