Welcome to WebmasterWorld Guest from

Forum Moderators: open

Message Too Old, No Replies

Find and replace in Fp 2003?



10:36 am on Jul 26, 2005 (gmt 0)

10+ Year Member

Hi all,

Got about 250 files with the code below in them, which I need to change, but when I try a find and replace, it doesn't find the code, even though I have copied and pasted the exact code from one of the pages ;-(

<!--webbot bot="Include" U-Include="../includes/index.htm" TAG="BODY" --></td>

Any help much appreciated.


Web Footed Newbie

10:58 am on Jul 26, 2005 (gmt 0)

10+ Year Member

Open the Find/Replace window with "CTRL H" and the window should appear on your screen. Does it? Good. If not, make sure you are not extending your Desktop screen to another screen, otherwise the Find/Replace screen may be on the other screen.

Now, before you open the Find/Replace window, first click the HTML tag to get the HTML view of your page. Highlight the exact phrase you want to replace and hit CTRL H. Make sure you are on the Replace Tab. If the line is breaking, this could be the problem. The Find/Replace command will only work on a non-breaking search.

In the Find/Replace window, under Search Options, under Find Where, click the All Pages radio button. The "Find in HTML" will now be shown, and make sure to do the tick mark beside it.

IMPORTANT! Before you let it rip and hit the Replace All, make sure your replacement text is exactly what you want, because you cannot undo a global Find/Replace command.
Hope that helps!


11:08 am on Jul 26, 2005 (gmt 0)

10+ Year Member

Many thanks for stepping in here.

Apologies, perhaps I should have reworded that a bit more - been using fp for about 5 years and have used the f and r almost daily ever since, but, as mentioned, even though the code for the include *does* exist in the html, it still doesn't find them ;-(

Anyone here use a good external find and replace prog please?



12:38 pm on Jul 26, 2005 (gmt 0)

WebmasterWorld Senior Member pageoneresults is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month

<!--webbot bot="Include" U-Include="../includes/index.htm" TAG="BODY" -->

Hello Dexie, I've not transitioned to FP2003 as of yet but the problem you describe is inherent in FP2002 and prior versions. I'm not sure why this is, but there is a workaround if all you need to do is change something within the include statement. For example, if you need to change the URI reference, enter just a portion of the include into the find/replace fields.


Avoid using any part of the opening and closing portion of the include...




While you are at it, you might as well correct case on those along the way. I'd change everything to lowercase, its just a pet peeve of mine. ;)

="include" u-include="../includes/index.htm" tag="body"


12:49 pm on Jul 26, 2005 (gmt 0)

10+ Year Member

Many thanks Pageoneresults, in fact the upper case thingie is the least of the problems ;-)

I'm trying to get rid of this whole line

<!--webbot bot="Include" U-Include="../includes/index.htm" TAG="BODY" --></td>

and replace it with another completely different line of text, that wouldn't be an include.

Any ideas very much appreciated.



Featured Threads

Hot Threads This Week

Hot Threads This Month