I'm using Pages and noticed that it can do a find and replace. I have a document with too many tab characters. I asked Pages to show them and it did. Then I told it to replace every "two tabs" with "one tab". It can neither find the tabs nor replace them. It can find one paragraph mark and then gives up and can't find any more when I ask it to find "next". Something seems very wrong, but I'm not sure what it is. I don't want to have to open Text Wrangler to do something Pages seems to think it can do.
In cases such as this you can Copy the character you want to search for directly from your text and Paste it into the search field. That way if it is some variant that looks the same but has a different code, Find and Replace will be able to locate it.
Sampling what you are searching for is always a good idea.
As is clearing out your Find and replace fields by tabbing into them, selecting all (cmd A) and deleting. It is very easy to have an extra line or character in there that you can't see.
Your original text could also have subtle variations in the character order or spaces between tabs that don't match your search criteria.
Best is to search on one pattern of tabs or whatever, then when searching doesn't catch anymore, sample the next set that won't replace and search on that again. Progressively eliminating all variants.
I have done everything suggested—I have cleared the "find" box and copied and pasted the "invisible" tab markers into that box. But FIND can't seem to find more than 1 instance of two tabs and it doesn't seem to replace even those two tabs with one.
I would post a couple of screen shots, but, alas, I don't know how to add an image here.
Tabs should be visible if you have selected View > Show Invisibles. If what you think is a TAB is still invisible, it's truly an odd character, but you should still be able to select the string, copy / paste it, and Find / Replace.
Using "Use selection for find" doesn't work either. I can see that I have at least 15 incidences of the ^t^t and it can't find them.
However, they were created when I copied something from the Internet and it came as a table when I pasted it into Pages. So I "converted Table to Text". Added into the table at various points were small no line, no fill boxes. The boxes cannot be seen (even using Show Invisibles) but only when I attempt a selection do they show up. Search and Find cannot handle those boxes. I solved the problem by copying the entire table into Text Edit and then copying it back into Pages. Then the double tabs without the mysterious boxes could be found and replaced.
No matter what DTP application you are using, it is always a good idea to clean up your text in a pure text program such as
TextEdit,
iTextExpress,
BBedit or
TextWrangler. They get rid of non-conforming characters and any spacer images, usually containing 1 white pixel, that some web designers use to position text within a page.
They also have
GREP to automate the clean up process.
Pages does not have the equivalent of *Indesign's StoryEditor* to handle this task, so using the 3rd party software in *Text Only* mode does the job.
Peter
PS Letting us know you copied and pasted this from a web page would have resolved this much faster.
This thread has been closed by the system or the community team.
You may vote for any posts you find helpful, or search the Community for additional answers.
Finding and replacing tab characters
Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.