1. Technology

How To Using Search and Replace in FrontPage


Microsoft FrontPage 2003

Microsoft FrontPage 2003

Image courtesy Microsoft

It's easy to use Microsoft FrontPage to do a search and replace over either the current file, or every file in your Web site. And once you're used to using global search and replace, you'll wonder how you ever lived without it.

Difficulty: Easy
Time Required: 5 minutes

Here's How:

  1. To search in one file:
    Open the file to edit in FrontPage.
  2. Go to "Replace" in the "Edit" menu, or click Ctrl-H.
  3. Type the words to find in the find box and the words to replace in the replace box.
  4. Make sure "Current Page" is selected, and click "Replace". Keep clicking replace until FrontPage has replaced all the instances on the page.
  5. To search across an entire Web:
    Open FrontPage and open a pre-defined Web site.
  6. In the folder list, highlight the files you'd like to search through.
  7. Go to "Replace" in the "Edit" menu, or click Ctrl-H.
  8. Type the words to find in the find box and the words to replace in the replace box.
  9. Make sure "Selected page(s)" is selected if you only want to search some of the pages in your Web, or "All pages" if you want to search all pages. Then click "Replace All".
  10. FrontPage will alert you that you won't be able to undo this operation. Click "Yes".
  11. FrontPage will then show you all the places where your search string was found.
  12. Click "Cancel" when you're done.


  1. In order to avoid matching on items that shouldn't be replaced, create a find string that is very specific. For example, the string "in" would be found inside words ("tin", "insider", etc.). You can include parts of your find phrase inside your replace phrase. For example, if you wanted to replace "in the matter of" with "on the matter of", you should include all the words in your search string and replace string. Just searching for "in" will result in every instance of that word being replaced with "on".
  2. FrontPage allows you to select options to narrow down the search:
    • Match case matches the exact upper case or lower case of the text you type in. "In" will not match "in".
    • Find whole word only will match only the word "in" and not "insider" or "tin".
    • When you search multiple files you can Find in HTML. FrontPage will then look for HTML tags as well as text.
  3. When you search in a folder or project, you can have HomeSite search only within specific file types. Use "*" as a wildcard and separate multiple types with a comma. For example to search all HTML and XML files you'd write "*.htm,*.html,*.xml".
  4. You can double click on the results pages to see what was changed, and make edits.

What You Need

  • Microsoft FrontPage

©2014 About.com. All rights reserved.