Oky doky.
At the moment I have a large table on each page of my website. And I need to replace it with a larger table with updated links.
So i thought I could simply copy and paste and replace the the new code and it would be done. However it is not that simple.
Im using frontpage 2003 for it and it is not working, because the code is so big it will not fit in the search and replace fields, So im kind of stuck. I also have dreamweaver and once again, their field is too small.
Im talking about a lot of charachters in the new code.
So is there a program where I can replace this new code into all my pages at once? As I really dont want to have to do all the pages indivudually.
Thanks in advance if you can help me. Because I really am stuck here.
Matthew.






Greg K posted this at 18:05—18th May 2007.
He has: 1,639 posts
Joined: Nov 2003
not sure exactly what limitations you are finding, but maybe give this a try:
ultraedit.com
it will let you do search/replace across files.
-Greg
[This space intentionally left blank]
Cool Geek Supplies: www.ThinkGeek.com
matthecool posted this at 18:22—18th May 2007.
They have: 5 posts
Joined: May 2007
Hmm the search field only allows one line of text. I have about 70 lines of code to replace.
Thanks for helping though, but not what im after, unless im not using it right.
matthecool posted this at 18:10—18th May 2007.
They have: 5 posts
Joined: May 2007
Thankyou, downloading now and will give it a try!
teammatt3 posted this at 20:13—18th May 2007.
He has: 1,856 posts
Joined: Sep 2003
In Dreamweaver, the little box is about 4 lines tall and 70 characters across (by default) that doesn't mean you can only put 280 characters in there. If you do more, scroll bars will show up on the find and replace box. I just put 70 lines of code in the find and replace fields in Dreamweaver and it works fine. Is it giving you an error message or something? Freezing up?
My Site | Regular Expression Tester
jennbell posted this at 20:19—18th May 2007.
They have: 23 posts
Joined: May 2007
There is also another good program for search and replace, it is called InfoRapid Search and Replace
http://www.inforapid.de/html/srdownload.htm
The only issue with this product is that the line you are replacing has to be on the same line, so if you have
Professional Link Management System
Greg K posted this at 23:16—18th May 2007.
He has: 1,639 posts
Joined: Nov 2003
Just to clarify, do you have 70 different search and replaces you are doing (replacing 70 different lines) or you literally have code that is 70 lines ong that needs replaced?
If so, in how many different files are you looking to replace them in? Can you provide a sample page and what you are wanting to replace. Depending on the complexity, in Ultra edit you can record macros so you can do it once mannually then have the macro auto do it for many other files.
(ie. record doing a search for the begining text, go to the home of that line, select down 70 lines of code, delete it, and then instert the code you want to replace it). A sample would really help us give you a more solid example of your choices.
Lastly, if this is something that may change again often, you may want to look at using some type of include to include the code from that section so the next time you can just replace it in one file.
-Greg
[This space intentionally left blank]
Cool Geek Supplies: www.ThinkGeek.com
Megan posted this at 18:28—22nd May 2007.
She has: 10,153 posts
Joined: Jun 1999
From what he said it sounds like he's replacing a whole table.
Replacing it with an include would be your best bet. If your site isn't already using some sort of includes, it should be.
Like Matt said, Dreamweaver should be able to handle this. I know I've done big search/replaces in DW before.
Megan
My web design blog