[Previous] [Contents] [Next]

Convert Tabs and Spaces to Just Tabs


The Problem:

My boss creates complex tables that look beautiful but turn out to be painstakingly aligned with a mixture of tabs and spaces. I've tried showing her how to change the default tab stops, but she's got better things to worry about. So I need to remove the spaces, leaving the tabs; reduce each set of multiple tabs to a single tab; and then fix the tab stops. Madness beckons.

The Solution:

Find and Replace can knock out the spaces and extra tabs for you. Choose Edit Replace, enter ^w (whitespace) in the "Find what" box and ^t in the "Replace with" box, and then click the Replace All button.

You'll then need to fix the tab stops manually, but that shouldn't take you long.


[Previous] [Contents] [Next]