
To find two spaces, in the “Find what” field, type: 2 spaces.

Click the Replace tab at the top of the dialog box. To open the Find and Replace dialog box, on the Ribbon, click: and choose “Advanced Find…” Using Word’s Find and Replace feature, we can easily find these extra spaces and replace them with the formatting of our choice (single space, tab, or hard return).

Or possibly we have a coworker who likes to separate ideas with several spaces instead of a tab or hard return. Perhaps we were taught to put two spaces between sentences and now need to update documents to have only one space. To access the Find/Replace in Files dialog box, select Find and Replace on the Edit menu (or press Ctrl+ Shift+ F).There are several reasons we might need to find and replace spaces in Word.

You can also search by file name extension. Not only can you search the current open file in the editor, but also all open documents, the entire solution, the current project, and selected folder sets.

You can use the Find control in code or text windows, such as Output windows and Find Results windows, by selecting Edit > Find and Replace or pressing Ctrl+F.Ī version of the Find control is also available in some tool windows. In the Show settings for list, select Text Editor, and then in the Display items list, select Find Match Highlight. To change the highlight color for matches, choose the Tools menu, select Options, and then choose Environment, and select Fonts and Colors. To replace all matches, choose the Replace All button. To make one replacement at a time, choose the Replace Next button next to the Replace text box. You can access replacement options by choosing the button next to the Find text box.
