homepage Welcome to WebmasterWorld Guest from
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member

Home / Forums Index / Code, Content, and Presentation / WYSIWYG and Text Code Editors
Forum Library, Charter, Moderator: open

WYSIWYG and Text Code Editors Forum

Find and replace in Fp 2003?

10+ Year Member

Msg#: 1182 posted 10:36 am on Jul 26, 2005 (gmt 0)

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+ Year Member

Msg#: 1182 posted 10:58 am on Jul 26, 2005 (gmt 0)

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!


10+ Year Member

Msg#: 1182 posted 11:08 am on Jul 26, 2005 (gmt 0)

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?



WebmasterWorld Senior Member pageoneresults us a WebmasterWorld Top Contributor of All Time 10+ Year Member

Msg#: 1182 posted 12:38 pm on Jul 26, 2005 (gmt 0)

<!--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"


10+ Year Member

Msg#: 1182 posted 12:49 pm on Jul 26, 2005 (gmt 0)

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.


Global Options:
 top home search open messages active posts  

Home / Forums Index / Code, Content, and Presentation / WYSIWYG and Text Code Editors
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved