James Elliott wrote:
I have a list I have copied from the Internet and pasted into a Write
document (I used Notepad to remove Internet formatting on the way
through).
Each line of the list starts with a tab - I want to get rid of the
tabs. How can I use Search & Replace to do this? If I try and enter
<tab> in the "Look for" field, all it does is to reposition the cursor
in the "Replace with" field box. How can I tell Search & Replace that
is the hidden character "tab" I am actually looking for, and want
replaced?
Many thanks, James
In addition to the excellent suggestion to use regular expressions, you
might try another approach.
Since it's a list you're copying, try putting it into a Calc
spreadsheet, by doing Paste Special > Unformatted text. It will ask for
separator options, with Separated by Tabs being suggested. Accept that
suggestion, and the list should come into the spreadsheet nice and
neatly (depending, of course, on how the list was formatted on the
internet site). I've had very good success with this.
Then, you'll probably see column A as being blank, so just delete it. If
you eventually want it in an Writer document, it's no problem to copy
from Calc and Paste Special > Unformatted text into Writer, which will
have the columns separated by tabs.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]