Friday, November 3, 2023

Replacing invisible characters

Replacing "invisible" characters

Cleaning up Word and Publisher documents


I was teaching a Publisher class recently and I was showing the participants how to replace all of the extra "returns" and "tabs" in the document without having to do it individually. Of course they asked if it was on my blog and I had to admit that it wasn't, so now it is! To view these invisible characters you need to click on the Show/Hide option on the Home Tab, Paragraph Group.


-----------------------------------------------------------------------------------------

This tip uses the Replace dialog box which is generally employed when you want to find all of the occurrences of ABC Moving and change it to Sam's Charting but it can also be used to replace "invisible" characters. Invisible characters are things like paragraph returns, tab characters and manual line breaks. As you can imagine it's hard to replace these characters because you certainly can't type a return or a tab or a line break into the box...or can you? Well, if you know the code for those characters or if you know where you can find those codes you can.

When you open the Replace dialog box (Home Tab, Editing Group, Replace) you will see the Find what and Replace with options. Click in the Find what box and click the "More>>>" option. Next click the "Special" option. A list of all of the invisible characters will be displayed.

If you are trying to remove all of the double returns that people like to insert in their documents to add space between paragraphs, you would click twice on the Paragraph Character option and ^p^p would be inserted in the Find what box. Move to the Replace with box and either click the "Special" option again or, now that you know what the code is, just type ^p in the box.

Finally, click the "Replace all" button. All occurrences of the double returns will be removed, replaced with a single return. If people have inserted more than two consecutive returns in the document, you may have to click the Replace all button again. Repeat this until there are "0" replacements.


Here's a list of popular character codes.  NOTE: these codes are always written in lower case.

Returns - ^p
Line breaks - ^l
Tabs - ^t
Manual page break - ^m
Non-breaking space - ^s
Section break - ^b

I use this replace information often in Word and Publisher if I have copied text from the internet. Internet documents are notoriously filled with line breaks and non-breaking spaces. If you use Publisher you'll need to write these codes down because they are not supplied for you the way they are in Word...go figure.


Have you bought my book yet? If not, why not??  100 Amazing Computer Tips - Shortcuts, Tricks, and Advice to Help Everyone from Novice to Professional, is available NOW at Amazon.com and Barnes & Noble in both print ($14.99) and ebook ($7.99) formats. There's also a handy link on top right side of this window for your shopping convenience. If you've bought my book, THANK YOU! Please consider writing a review on Amazon.com.

Happy computing!

Diane

Don't forget to click the Subscribe to 100 Computer Tips in 100 Days via email link on the right side of the screen so you get email alerts when I add a new post.

No comments:

Post a Comment

Named Cells and Ranger in Excel

Great Computer Tips Named Cells and Ranges in Excel Naming cells Cells already have names such as A1, B27, etc. but you can also give them n...