Use Word to convert the copied Web page garbled to zero

Source: Internet
Author: User

In normal condition can not see these garbled, but as long as selected a few lines or the whole text, these garbled will be revealed. Right-click the source file of the page and find that there is a piece of garbled behind each line, and that the color value in the font label is the same--"#FFFFFF" (white). White garbled, in the background of the page is white, of course, can not see the case.

It seems to solve garbled, only from the copy of the text after the start, but these garbled values and length and no rules, how to replace it with empty?

Problem solving:

Speaking of "replacement", I suddenly remembered word, its "replace" function seems to have a "font" replacement, the front of the garbled although there is no rule in length, but its color is the same, this is not a keyword? Starts word, pastes the copied text into a blank document, and, by default, Word is displayed in the format of the source file, so the text looks the same in Word and on the Web page, and is hidden in a white background.

Next click "Replace" in the Menu "edit" and click "Advanced" in the open Find and Replace window, expand the advanced features of the replacement, then click "Font ..." under "format", and in the Open Font window, click the "Drop down menu" in "Font Color" in "All text" and select the "White ”


Note: The color of the anti-copy code in some Web pages is not white, for example: #FCFCFC, for this kind of color that does not appear in the regular, we need to take the custom way, select the "Custom" panel in the other Colors window, and set the "Red", "green", "blue" respectively to "#FCFCFC The decimal value that corresponds to the.

How do you convert hexadecimal FC to decimal values? Using the Windows Calculator, use its "scientific" approach, you can convert a number to 16, 10 or eight, binary values, such as the previous hexadecimal FC, to decimal is 252.

Finish setting the font color, click OK to return to find and replace windows

    Although there is no content in the Find what, but the format below gives the current lookup keyword The font color is "white" content, followed by the "Replace with" setting, because we want to replace these garbled with empty, so in the "replace with" Nothing in the input, directly click on "Replace All" on it, to replace the completion of the review after the effect, whether it is to change the background color of Word, or copy the text to the text file, can not see the traces of garbled.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.