Expression® Web Design

Replace Options

Tuesday, March 18, 2008
Microsoft Expression Web offers users a variety of ways to Find and Replace text and source code in your web page.  You might have even seen this dialog box in the past when you were trying to locate some text.  To get to to this dialog box, you can hit CNTL-H or go to Edit - Replace.

Find and Replace Dialog Box

This dialog box will offer you a multitude of options.  You can find and replace HTML source code or the text the user sees in the browser.

Find What

In this text area, you can enter HTML source code, or the text you see as in the Design mode.  The arrow pointing to the right will give you some options like any single character or the beginning of the line.   The arrow pointing down will give you some of the previous code / text that you replaced earlier.

Replace With

In this text area, you can enter the HTML source code or text that you want to be seen.  You will always want to be careful with this and consider making a back-up copy of your web site.

Search Options

The search options can vary depending on what you have selected previously. 
  • You can choose All Pages which will make changes in your entire web site.
  • You can choose Open Page(s) which will make changes in all your pages you have opened - these pages are found near the top of your page you are working on.
    Open Pages
  • If you have selected pages from your Folder List, this option will be available to you.
  • Current Page is the page that you working on when you opened the Find and Replace dialog box.

Advanced

Here you can choose even more specifics (i.e. match case). This might be important if you have mixed case on your web site.

Ignore whitespace differences would come in handy when you are replacing chunks of code.  For example, if you hit the tab key when entering some text while in code view, you will have some extra spaces.  Ignore whitespace differences will help with this.

Find in source code will help you once again when you are replacing HTML source code, not just the text the users see in the browser.

Of course, before doing anything like this, create a backup copy of your web site.  If you are doing just one page, you can easily create a copy of that as well.

DeliciousDigg This PostNewsvineRedditTechnorati

Comments

Anna Ullrich said...

Hi Corey,

If you hit CTRL+F, the Find and Replace dialog box also appears but with the Find tab active instead of the Replace tab. Offhand I didn't know about the CTRL+H option...better make sure it's documented in Help now!
thanks,
Anna

3/26/2008

Corey Bryant said...

Anna, you are completely right about the CNTL-F feature (that is just another blog post coming (some time soon))

3/27/2008

Name
URL
Email
Email address is not published
Access Code secureimage
Please enter the access code
Remember Me
Comments




Join My Community at MyBloglog!



Feeds