A Blog of Experience Waffle from a Software Engineer/SysAdmin

Global Search and Replace Regexs

I’ve just been doing some basic text layout clean up code, i.e. getting rid of empty lines, leading/trailing whitespace, etc. You may think a regex like this will get rid of all empty lines:...