Share via

Replace using wildcards

Anonymous
2015-06-19T16:04:06+00:00

I have a large file which contains a good deal of text between quotation marks ("").

I want to italicise all of the text within quotation marks, throughout the document, but not the quotation marks themselves.

Can I do this with 'Replace' using a wildcard to select the text?

Microsoft 365 and Office | Word | For home | Windows

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

Answer accepted by question author

Doug Robbins - MVP - Office Apps and Services 323.1K Reputation points MVP Volunteer Moderator
2015-06-20T14:09:09+00:00

Use

Find What: ["^034"][!"^034"]{1,}["^034"]

Replace With Italic Font Format: \n

and then

Find What: (["^034"])

and then remove the Italic font format and replace with: \n

Was this answer helpful?

0 comments No comments

21 additional answers

Sort by: Most helpful
  1. Anonymous
    2015-06-19T16:59:40+00:00

    Robert

    I typed your FIND Text and word responds with the message "We couldn't find what you were looking for."

    Was this answer helpful?

    0 comments No comments
  2. Anonymous
    2015-06-19T16:53:18+00:00

    Thanks, Charles, but I am afraid that I am now even more confused.

    Firstly, how do I specify the FIND part.  (e.g. "*" or "(*)"? -  neither of which work.

    Secondly, how do I say that I want to keep the wildcard text in the REPLACE.

    Was this answer helpful?

    0 comments No comments
  3. Anonymous
    2015-06-19T16:47:48+00:00

    Try the following Find/Replace with "Use wildcards" ON:

    Find What: ""^034[""^034]

    Replace With Italic Font Format: "\1"

    Was this answer helpful?

    0 comments No comments
  4. Charles Kenyon 167.7K Reputation points Volunteer Moderator
    2015-06-19T16:13:28+00:00

    Yes. You should be able to. Here are the references I use when doing wildcard replaces:

    Was this answer helpful?

    0 comments No comments