#1
|
|||
|
|||
Replace an Odd Character from HTML Text
Using Word 2000 on a Win 10 computer:
When I cut the contents of an HTML document and then use Paste Special to paste it into a Word document, lots of "characters" like the ones shown below appear. I tried using Replace to get rid of them but I don't know what to put into the Find field. If I copy the character and try to put it in the Find field, it won't go. What are these characters and what code can I use in the future to search and replace them? Last edited by Charles Kenyon; 04-01-2020 at 08:22 AM. Reason: Mark as solved |
#2
|
|||
|
|||
I think I resolved my problem:
I copied the little circle and the character that preceded it and pasted them into the Find field. Then I removed the first character (a colon in this case) and typed a space in the Replace field. That took care of the little circle characters. Nevertheless, I would like to know what the code for the little circle characters is. |
#3
|
||||
|
||||
The degree sign represents a non-breaking space. [Typo corrected]
In a Word document, you can add such a space by pressing Ctrl+Shift+SpaceBar.
__________________
Stefan Blom Microsoft Word MVP Microsoft 365 apps for business Windows 11 Professional Last edited by Stefan Blom; 03-29-2020 at 11:56 AM. Reason: corrected typo |
#4
|
|||
|
|||
Thank you for your help!
So what is a non-printing space??? (Wait! I got it! A space that doesn't print .) What are they used for in the HTML?? |
#5
|
|||
|
|||
It is a non-breaking space. The little degree character does not print. The space does.
Showing non-printing formatting marks in Microsoft Word |
#6
|
||||
|
||||
Sorry, it was a typo on my part. Non-breaking space is the correct terminology, as Charles said. :-)
I have now corrected my previous reply.
__________________
Stefan Blom Microsoft Word MVP Microsoft 365 apps for business Windows 11 Professional |
#7
|
|||
|
|||
I appreciate it!
|
Thread Tools | |
Display Modes | |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Select / replace all words containing a certain character | emartin | Word | 3 | 05-22-2019 05:32 PM |
Replace a character only if it is at the beginning of the paragraph. | donpopo | Word | 2 | 11-11-2018 11:32 PM |
Replace a random character with the same character | RickLegrand | Word | 7 | 07-23-2015 06:35 PM |
How to use Find and Replace with HTML tags? | srz92 | Word | 0 | 07-17-2013 07:55 AM |
Is it possible to include a newline character in the replace text | desgordon | Word | 2 | 09-14-2012 02:28 AM |