Microsoft KB Archive/220580

= WD2000: Wildcard Calculates Search and Replace Text Improperly =

Article ID: 220580

Article Last Modified on 12/6/2000

-

APPLIES TO


 * Microsoft Word 2000 Standard Edition

-



This article was previously published under Q220580





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 that this is a problem in the Microsoft products that are 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.

Keywords: kbbug kbnofix KB220580

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.