Using Wildcards with Word Find and Replace features

A colleague  presented me with interesting challenge: An attorney she was working with entered comments into a document as parenthetical phrases. That is to say, the comments were entered ‘inline’, within parentheses and not by using Word’s INSERT COMMENT feature. Having already actioned the comments, she was looking for a simple method to find and remove all the parenthetical text.

Is it possible to search for and delete an unknown string of text, given the first and last characters ?

Yes!

Advanced Find and Wildcards to the rescue.

So our goal: find an open and close parentheses, including all that stuff in the middle, and replace it with nothing (essentially, deleting it).

Using Advanced Find and wildcards to delete text.

  1. Press CTRL + F to display the Navigation Pane.
  2. Click the drop-down to the right of the search icon and select Advanced Find. The Find and Replace dialog appears.
  3. If necessary, click the More button to display additional options.
  4. Check the Use Wildcards check-box.
  5. In the Find What area enter \(*\) 
    Note:  Usually, when conducting a wildcard search, the parenthesis is used to denote an expression. The backslash “\” is  used to indicate when a search device (in this case, the parenthesis) is to be taken literally.
  6. Click Find Next, then click Replace to delete selectively or Replace All to do so en masse.

Note when using wildcards the Find What text is case sensitive.

Additional Wildcards:

To find Type Example
Any character ? s?t finds sat and set
Any string of characters *  s*d finds sad and started
The beginning of a word  <  <(inter) finds interesting and intercept, but not splintered
The end of a word > (in)> finds in and within, but not interesting
One of the specified characters  [ ]  w[io]n finds win and won
Any single character in this range  [-] [r-u]ight finds right, sight and tight
One or more occurrences of the previous character or expression @ lo@t finds lot and loot

Cheers!

hɔuᴉnb

Comments and questions are always welcome!

Advertisements

Author: quincy harley jr

Quincy is a technophile, coach and Learning Development expert. He has an extensive legal IT background and is practiced in MS Office application support and product development. As a project leader he has been integral in numerous new application rollouts. Whatever spare time he has, is spent with reading, archery and watching his young sons grow.

1 thought on “Using Wildcards with Word Find and Replace features”

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s