WD2000: Wildcard Calculates Search and Replace Text Improperly

ID: Q220580


The information in this article applies to:


SYMPTOMS

When you find or replace text using wildcard criteria of any character occurring from n to m occurrences (?{n,m}), Word may find or replace text that exceeds m.

In the text example:

sample a 123
sample ab 123
sample abc 123
sample abcd 123
to find all occurrences of text beginning with the word "Sample ", followed by just one to three characters and ending with " 123", you would build a wildcard search criteria of:
Sample (?{1,3})( 123)
in the Find what box (in the Find and Replace dialog box, on the Edit menu).

This criteria, however, will find the last line in the example above, which contains more than three characters.


STATUS

Microsoft has confirmed this to be a problem in the Microsoft products listed at the beginning of this article.


MORE INFORMATION

For more information about find and replace, click Microsoft Word Help on the Help menu, type "find and replace" in the Office Assistant or the Answer Wizard, and then click Search to view the topics returned.

Additional query words:


Keywords          : kbdta wd2000 
Version           : WINDOWS:2000
Platform          : WINDOWS 
Issue type        : kbbug 

Last Reviewed: May 13, 1999