Find all italics in word

Is there a way in Microsoft Word to find all single italic words? For example, if the text is:

This is some text.

This is another line of text.

Word should find "some" but not "another line".

I only managed to find all italic words, but not just single ones. My text is in .rtf format. If this is not possible in Word you can also suggest alternatives that work on OS X.

asked Jan 10, 2014 at 15:23

shrx's user avatar

2

Open the Find window and choose the More>> button.

enter image description here

Click the Format button and choose Font.

enter image description here

Choose Italic then OK.

enter image description here

Now choose find and it will look for words with that formatting.

answered Jan 10, 2014 at 21:13

CharlieRB's user avatar

CharlieRBCharlieRB

22.5k5 gold badges55 silver badges104 bronze badges

4

Use Find and Replace to Change Formatting in Microsoft Word Documents

by Avantix Learning Team | Updated May 13, 2022

Applies to: Microsoft® Word® 2013, 2016, 2019, 2021 or 365 (Windows)

You can find and replace formatting in Word by searching for specific formatting, such as bold or italic, and changing it to other formats. You or even search for text with specific formatting and change the text and the formats. With Find and Replace, you can search for and change both character and paragraph formatting.

You may want to use Find and Replace in the following scenarios:

  • You want to remove character formatting throughout your document such as every instance of bold. Character formatting includes any formatting in the Font group on the Home tab in the Ribbon or in the Font dialog box.
  • You want to change every instance of one font and change it to another font.
  • You want to find every instance of blue and change it to green.
  • You want to format specific text with consistent formatting. For example, you want to format every instance of your company name in bold and blue.
  • You want to find and change paragraph formatting. For example, for every paragraph that is aligned to the right with single line spacing, you’d like to align to the left and change the line spacing.

Note: The better way to handle global formatting changes is to use styles but if you haven’t used styles, Find and Replace provides a fast way to make changes throughout your document. You can even use Find and Replace to change styles.

Recommended article: How to Find and Replace in Word (and Use Wildcards)

Do you want to learn more about Microsoft Word? Check out our virtual classroom or in-person Word courses >

Note: Screenshots in this article are from Word 365 but are similar in previous versions of Word.

The Replace command appears on the Home tab in the Ribbon in the Editing group:

Find and replace on Home tab in the Ribbon in Word.

If you want to perform advanced Find and Replace tasks, you will need to display the expanded Find and Replace dialog box by clicking More:

Find and replace dialog box in Word expanded with Format options.

When you run through a Find and Replace task, if you’re not satisfied with the results after you close the dialog box, press Ctrl + Z to undo and try it again.

Find and Replace character formatting

If you want to search for character formatting only, such as bold or italic, you can use Find and Replace.

If you want to find and replace specific character formatting (such as replacing italic with bold), you may have to run through the find and replace process more than once.

To find and replace character formatting in a Word document:

  1. Position the cursor at the beginning of the document.
  2. Click the Home tab in the Ribbon.
  3. In the Editing group, click Replace to display the Replace dialog box. Alternatively, press Ctrl + H to display the Replace dialog box.
  4. Click More if necessary to display the expanded Find and Replace options.
  5. Click in the Find what box.
  6. Click Format at the bottom of the dialog box. A drop-down menu appears.
  7. Select Font. A dialog box appears.
  8. Select the format(s) you want to find (such as Italic in the Font Style area).
  9. Click OK.
  10. Click in the Replace with box.
  11. Click Format and then select Font.
  12. Select the format you want to use as a replacement (such as Bold in the Font Style area).
  13. Click OK.
  14. Click Find Next and then click Replace for each occurrence or click Replace All. If you are trying to replace italic with bold, this would add bold and keep the italic.
  15. If you now want to remove the italic, ensure Italic appears below Find What.
  16. Click in the Replace with box.
  17. Click the arrow beside Format and then select Font.
  18. In the Font Style area, click No Italic.
  19. Click OK.
  20. Click Find Next and then click Replace for each occurrence or click Replace All.
  21. Click Close.

In the following example, the Find and Replace dialog box is used to find text in bold and would add italic:

Find and Replace dialog box in Word to find bold and replace with italic.

If you want to find and replace a font, that should require only one find and replace task. If you want to find and remove a font color, you can find a font color (such as blue) and replace it with a font color of Automatic.

Remove character formatting using Find and Replace

To remove character formatting using Find and Replace in a Word document:

Position the cursor at the beginning of the document.

  1. Click the Home tab in the Ribbon.
  2. In the Editing group, click Replace to display the Replace dialog box. Alternatively, press Ctrl + H to display the Replace dialog box.
  3. Click More if necessary to display the expanded Find and Replace options.
  4. Click in the Find what box.
  5. Click Format at the bottom of the dialog box. A drop-down menu appears.
  6. Select Font. A dialog box appears.
  7. Select the format(s) you want to find.
  8. Click OK.
  9. Click in the Replace with box.
  10. Click Format and select Font.
  11. Select Regular in the Font Style area and turn off any other formatting.
  12. Click OK.
  13. Click Find Next and then click Replace for each occurrence or click Replace All.
  14. Click Close.

In the following example, Find and Replace is used to find text formatted in italic and remove it:

Find and replace dialog box in Word to find italic and remove it.

The Replace Font dialog box includes options like Not Bold, Not Italic and Regular to remove formatting (the filled check boxes that appear are left as is):

Replace Font dialog box in Word.

Clear Find and Replace formatting from previous searches

If you have performed a previous find and replace with formatting, you’ll want to remove those options if you want to perform another search.

To remove previous formatting in the Find and Replace dialog box:

  1. Click the Home tab in the Ribbon.
  2. In the Editing group, click Replace to display the Replace dialog box. Alternatively, press Ctrl + H to display the Replace dialog box.
  3. Click More if necessary to display the expanded Find and Replace options.
  4. Click in the Find What box.
  5. Click No Formatting at the bottom of dialog box.
  6. Click in the Replace With box.
  7. Click No Formatting at the bottom of dialog box.
  8. Continue with your next Find and Replace task.

Find and Replace paragraph formatting

You can also use Find and Replace to change paragraph formatting. For example, you may want to find every instance of a paragraph with a space before of 9 pt and a space after of 7 pt and change it to a space before of 8 pt and a space after of 6 pt. As mentioned above, this type of formatting can be included in styles.

To change paragraph formatting using Find and Replace in a Word document:

  1. Position the cursor at the beginning of the document.
  2. Click the Home tab in the Ribbon.
  3. In the Editing group, click Replace to display the Replace dialog box. Alternatively, press Ctrl + H to display the Replace dialog box.
  4. Click More if necessary to display the expanded Find and Replace options.
  5. Click in the Find what box.
  6. Click Format at the bottom of the dialog box. A drop-down menu appears.
  7. Select Paragraph. A dialog box appears.
  8. Select the format(s) you want to find. You can also enter specific amounts in this dialog box (such as 9 pt before). Paragraph formatting includes alignment, indents, line spacing and space before and after.
  9. Click OK.
  10. Click in the Replace with box.
  11. Click Format and then select Paragraph.
  12. Select the format(s) you want to use as replacements. You can also enter specific amounts in this dialog box (such as 8 pt before).
  13. Click OK.
  14. Click Find Next and then click Replace for each occurrence or click Replace All.
  15. Click Close.

In the example below, Find and Replace will search for any paragraphs with a space before of 9 and a space after of 7 and then replace it with a space before of 8 and space after of 6.

Find and replace dialog box in Word to find and replace paragraph formatting.

Find and Replace Text with Formatting

You can also enter text in the Find what and Replace with boxes if you want to find text with specific formatting and replace it.

Subscribe to get more articles like this one

Did you find this article helpful? If you would like to receive new articles, JOIN our email list.

More resources

How to Add Page Numbers in Word (Step by Step)

How to View Document Statistics in Microsoft Word

How to Update All Figure Numbers in Microsoft Word

How to Check Word Count in Microsoft Word (4 Ways)

How to Superscript or Subscript in Word (with Shortcuts)

Related courses

Microsoft Word: Intermediate / Advanced

Microsoft Word: Designing Dynamic Word Documents Using Fields

Microsoft Word: Long Documents Master Class

Microsoft Word: Accessible Word Documents

Microsoft Excel: Intermediate / Advanced

Microsoft PowerPoint: Intermediate / Advanced

VIEW MORE COURSES >

Our instructor-led courses are delivered in virtual classroom format or at our downtown Toronto location at 18 King Street East, Suite 1400, Toronto, Ontario, Canada (some in-person classroom courses may also be delivered at an alternate downtown Toronto location). Contact us at info@avantixlearning.ca if you’d like to arrange custom instructor-led virtual classroom or onsite training on a date that’s convenient for you.

Copyright 2023 Avantix® Learning

Microsoft, the Microsoft logo, Microsoft Office and related Microsoft applications and logos are registered trademarks of Microsoft Corporation in Canada, US and other countries. All other trademarks are the property of the registered owners.

Avantix Learning |18 King Street East, Suite 1400, Toronto, Ontario, Canada M5C 1C4 | Contact us at info@avantixlearning.ca

With the Find function(Ctrl+F) I can search and select all words in Italicized font from a document.
How would this be done with vba?

I tried the macro recorder but the code I get there does not work.

Sub Makro1()
'
' Makro1 Makro
' Makro aufgezeichnet am 16.06.2011 von u0327336
'
    Selection.Find.ClearFormatting
    With Selection.Find
        .Text = ""
        .Replacement.Text = ""
        .Forward = True
        .Wrap = wdFindContinue
        .Format = True
        .MatchCase = False
        .MatchWholeWord = False
        .MatchWildcards = False
        .MatchSoundsLike = False
        .MatchAllWordForms = False
    End With
End Sub

The goal would be to have all italic font words being selected/highlighted in the document.

thanks,
kay

entryton's user avatar

entryton

2805 silver badges18 bronze badges

asked Jun 16, 2011 at 8:42

Kay's user avatar

The last effort actually works a treat in Word 2010. I’m not sure why the report was that it didn’t work.

Here it is changed to ASCIIfy italics, which is what I want for text-based newsgroups:

 Sub ASCIIfy()
    Dim myString As Word.Range
    Set myString = ActiveDocument.Content
    With myString.Find
        '// ensure unwanted formats aren't included as criteria
        .ClearFormatting
        '// we don't care what the text is
        .Text = ""
        '// find the italic text
        .Font.Italic = True
        '// loop for each match and surround with "_"
        While .Execute
            myString.Text = "_" & myString & "_"
            myString.Font.Italic = False
            myString.Collapse wdCollapseEnd
        Wend
    End With
End Sub

answered May 24, 2012 at 23:26

Dallman Ross's user avatar

0

You may need to add :

Selection.Find.Font.Italic = True

That could became :

With Selection.Find
   .Text = ""
   .FOnt.Italic = True
   'other search stuff
End with

EDIT: another try (not complete though)

Sub hilightItalic()
    With ActiveDocument.Content.Find
        ' to ensure that unwanted formats aren't included as criteria
        .ClearFormatting
        'You don't care what the text is
        .Text = ""
        'Find the italic text
        .Font.Italic = True
        'Delete the text found
        .Replacement.Text = ""
        'delete all italic text
        .Execute Replace:=wdReplaceAll
        '.HitHighlight "", vbYellow, vbRed
    End With
End Sub

But yet, the replace does work well but highlight does not work if there is no text. Anyone has an idea ?

EDIT 2: Found a working solution, even if i did not manage to have hithighlight working though

Sub hilightItalic()
    Dim oRng As Word.Range
    Set oRng = ActiveDocument.Content
    With oRng.Find
        ' to ensure that unwanted formats aren't included as criteria
        .ClearFormatting
        'You don't care what the text is
        .Text = ""
        'Find the italic text
        .Font.Italic = True
        'Loop for each match and set a color
        While .Execute
            oRng.HighlightColorIndex = wdDarkYellow
            oRng.Collapse wdCollapseEnd
        Wend
    End With
End Sub

Regards,

Max

answered Jun 16, 2011 at 10:24

JMax's user avatar

JMaxJMax

25.9k12 gold badges69 silver badges88 bronze badges

2

Set Selection.Find.Font.Italic = True.

Selection.Find.ClearFormatting

' The next line does the trick.
Selection.Find.Font.Italic = True

With Selection.Find
    .Text = "YourText"
    .Replacement.Text = ""
    .Forward = True
    .Wrap = wdFindContinue
    .Format = True
    .MatchCase = False
    .MatchWholeWord = False
    .MatchWildcards = False
    .MatchSoundsLike = False
    .MatchAllWordForms = False
End With
Selection.Find.Execute

Hint for the next time: Record a macro, perform the actions you want to automate, and look what code is recorded. That’s how I found this. :D

[edit]

I see that you tried recording it. Weird that that didn’t work.. :-S

answered Jun 16, 2011 at 13:59

GolezTrol's user avatar

GolezTrolGolezTrol

114k17 gold badges184 silver badges209 bronze badges

You need to iterate through the cells in the range that you want to check, and specifically check if it has its font italicized. AFAIK .Italic is not a «findable» option.

The following code is an example of iterating through the cells to find what you need.

Sub TestMe2()

Dim rng As Range

'// change as needed to the proper worksheet reference
With ThisWorkbook.Worksheets(1)

    '// replace the .Range statement with an appropriate range for your data
    For Each rng In .Range(.Cells(1, 1), .Cells(100, 100))

        If rng.Font.Italic = True Then
            '// uses the yellow highlight color, change to suit your needs
            rng.Interior.Color = 65535
        End If

    Next rng
End With

End Sub

answered Jun 16, 2011 at 12:12

Hari Seldon's user avatar

Hari SeldonHari Seldon

1,0502 gold badges13 silver badges27 bronze badges

2

I’ve been exposed to a LOT of citations since I’ve been editing scientific reports for my main client. Our editorial guide instructs authors to italicize ‘et al‘ in a citation, but many forget to do so. Or they copy a section from another document and paste it as unformatted text (as we want them to do), thus losing the italic formatting for that string of text.

Using Word’s Find/Replace function, I can quickly find all unformatted et al’s and make them italic.

Here’s how… (these instructions apply to both word 2003 and Word 2007)

  1. Open Word’s Find and Replace dialog box (Ctrl+H).
  2. Click the More button to expand the find/replace options.
  3. In the Find what field, type et al
  4. Click the Format button, then select Font.
  5. Select Regular from the Font Style list in the Find Font dialog box, then click OK. ‘Format: Font: Not Bold, Not Italic’ is added immediately below the Find what text box.
  6. In the Replace with field, type et al
  7. Click the Format button, then select Font.
  8. Select Italic from the Font Style list in the Find Font dialog box, then click OK. ‘Format: Font: Italic’ is added immediately below the Find what text box.
  9. Click Replace All.

You’re only limited by your imagination — you can use the same procedure for changing any font formatting for a particular text string, such as making it bold or small caps etc. Just make sure you put in the text for which you want to change the formatting into BOTH the Find and Replace fields.

Oh, and if you’re doing several find/replaces without closing Word in between you’ll see that Format option below the find and replace fields. To remove it, place your cursor in each field respectively and click the No Formatting button.

Cutout newspaper letters with text overlay "How to Find and Replace Font Formatting in Microsoft Word"This tutorial shows how to find and replace font formatting in Microsoft Word. Font formatting includes style (i.e., italics or bold font), color, size, and underlining.

First, we will find and replace font formatting in the whole document. Then, we will find and replace font formatting applied to specific text. We will close with two important tips for finding and replacing font formatting.

Table of Contents:

  • How to Find and Replace Font Formatting in the Whole Document
  • How to Find and Replace Font Formatting Applied to Specific Text
  • Two Tips for Finding and Replacing Font Formatting

Watch all the steps shown here in real time!

Explore more than 200 writing-related software tutorials on my YouTube channel.

The images below are from Word for Microsoft 365. These steps also apply to Word 2021, Word 2019, and Word 2016.

Are you on a Mac? Please see “How to Find and Replace Font Formatting in Word for Mac.”

How to Find and Replace Font Formatting in the Whole Document

For this example, we will replace all bold text with regular text. Please modify these steps according to your own needs.

  1. Select the Home tab in the ribbon.

Home tab in Word 365

Figure 1. Home tab
  1. Select Replace in the Editing group.

Replace button in Word 365

Figure 2. Replace button
  1. Insert your cursor into the Find what text box in the Find and Replace dialog box.

Find what text box in the Find and Replace dialog box in Word 365

Figure 3. Find what text box
  1. Select the More button.

More button in the Find and Replace dialog box in Word 365

Figure 4. More button
  1. Select All in the Search menu.

All option in the Search menu in the Find and Replace dialog box in Word 365

Figure 5. Search All option
  1. Select the Format button.

Format button in the Find and Replace dialog box in Word 365

Figure 6. Format button
  1. Select Font from the drop-down menu.

Font option in the Format menu in the Find and Replace dialog box in Word 365

Figure 7. Font option
  1. Select Bold (or another option) from the Font Style menu in the Find Font dialog box.

Bold option in the Font Style menu in the Find Font dialog box in Word 365

Figure 8. Bold option
  1. Select the OK button.

Ok button in the Find Font Dialog Box in Word 365

Figure 9. OK button

The words Font: Bold should appear under the Find what text box.

Find What text box format in the Find and Replace dialog box in Word 365

Figure 10. Find what format
  1. Insert your cursor into the Replace with text box.

Replace With text box in the Find and Replace dialog box in Word 365

Figure 11. Replace with text box
  1. Select the Format button (see figure 6).
  2. Select Font from the drop-down menu (see figure 7).
  3. Select Regular (or another option) from the Font Style menu in the Replace Font dialog box.

Font style menu in the Replace Font dialog box in Word 365

Figure 12. Regular option
  1. Select the OK button.

OK button in the Replace Font dialog box in Word 365

Figure 13. OK button

The words Font: Not Bold, Not Italic should appear under the Replace with text box.

Replace with format in the Find and Replace dialog box in Word 365

Figure 14. Replace with format
  1. Select the Replace All button to make all the replacements at once. Or, select the Find Next and Replace buttons to make one replacement at a time.

Replace, Replace All, and Find Next button in the Find and Replace Dialog Box in Word 365

Figure 15. Replace, Replace All, and Find Next buttons
  1. If you selected Replace All, select OK in the dialog box telling you how many replacements were made.

OK button in the replacement dialog box in Word 365

Figure 16. OK button
  1. Select the Close button.

Close button in the Find and Replace dialog box in Word 365

Figure 17. Close button

The font formatting should be replaced in your document.

How to Find and Replace Formatting Applied to Specific Text

For this example, we will find specific text formatted in red and replace that same text with green formatting. Please modify these steps according to your own needs.

  1. Select the Home tab in the ribbon (see figure 1).
  2. Select Replace in the Editing group (see figure 2).
  3. Type the text you want to find into the Find what text box.

Find what text box with text in the Find and Replace dialog box in Word 365

Figure 18. Find what text box with text
  1. Select the More button (see figure 4).
  2. Select All in the Search menu (see figure 5).
  3. Select the Format button (see figure 6).
  4. Select Font from the drop-down menu (see figure 7).
  5. Select red (or other formatting) from the Font color menu in the Find Font dialog box.

Font Color menu in the Find Font dialog box in Word 365

Figure 19. Font color menu
  1. Select the OK button (see figure 9).

The words Font color: Red should appear under the Find what text box.

Find what format in the Find and Replace dialog box in Word 365

Figure 20. Find what format
  1. Type the same text (or different text if desired) into the Replace with text box.

Replace with text box with text in the Find and Replace dialog box in Word 365

Figure 21. Replace with text box with text
  1. Select the Format button (see figure 6).
  2. Select Font from the drop-down menu (see figure 7).
  3. Select green (or another formatting) from the Font color menu in the Replace Font dialog box.

Font color menu in the Replace Font dialog box in Word 365

Figure 22. Font color menu
  1. Select the OK button (see figure 13).

The words Font color: Green should appear under the Replace with text box.

Replace with text box format in the Find and Replace dialog box in Word 365

Figure 23. Replace with format
  1. Select the Replace All button to make all the replacements at once. Or, use the Find Next and Replace buttons to make one replacement at a time (see figure 15).
  2. If you selected Replace All, select OK in the dialog box telling you how many replacements were made (see figure 16).
  3. Select the Close button to close the Find and Replace dialog box (see figure 17).

The font formatting should be replace for the specific text in your document.

Two Tips for Finding and Replacing Font Formatting

Finding and replacing font formatting can be messy. Here are two tips to consider before your next formatting session.

Tip 1: Use the No Formatting Button to Clear Formatting

When you add formatting to the Find and Replace dialog box, Word will normally keep that selection in the dialog box until you close the software. If you want to clear previously selected formatting from the Find and Replace dialog box before closing the software, place your cursor in the affected text box (Find what or Replace with) and then select the No Formatting button.

No Formatting button in the Find and Replace dialog box in Word 365

Figure 24. No Formatting button

Tip 2: Experiment with Multiple Replacement Sequences

Occasionally, the formatting options entered into the Replace with text box don’t replace the options in the Find what text box; instead, they are added to the options in the Find what text box. When this occurs, experiment with multiple replacement sequences to reach the formatting you need.

For example, if you put the bold format into the Find what text box and put the italic format into the Replace with text box, Word won’t replace the bold text with italic text as you might expect. Instead, it will add italics to the bold words. But you can still remove the bold format if you do a second replacement sequence, this time replacing the bold format with the Not Bold format option.

Related Resources

How to Use the Format Painter in Microsoft Word (PC & Mac)

How to Find and Replace Special Characters in Microsoft Word

Updated December 03, 2022

The How-To Geek weblog steps through how to use Word’s find and replace feature to handle formatting the same way it handles text.

Click in the blank Find box, and then you can use the regular keyboard shortcuts to specify specific formatting. For instance, if you wanted to replace all bolded text with regular text, you’d use Ctrl+B in the «Find what» box, or for italics you would use Ctrl+I. You can even use multiple search criteria here.

Using this method, you can find and replace ugly headings, fonts, or just remove very simple formatting like all italics (like in the example). If you’ve ever spent hours reformatting a long Word document, this simple tip could be a lifesaver.

Search and Replace Specific Formatting (fonts, styles,etc) in Microsoft Word [the How-To Geek]

Понравилась статья? Поделить с друзьями:
  • Find column of data in excel
  • Find all instances of a word in word
  • Find excel для макрос
  • Find column number in excel
  • Find all function in word