![]() |
OHHHH It never fucking ends!!!! Batch find & replace
I need a quick fix..
I got 50+ pages I want to modify. I am sick of opening each page separately via dreamweaver & editing them, over & over.. fucking time consuming damn it.. Anyway, I need a batch find & replace.. Is there a program I can dump all the html pages into a folder & have the program find & replace the selected code for al the pages instead of having to do it individually.. |
Quote:
|
http://brinesoft.com/BatchTextReplacer.asp :thumbsup :thumbsup
|
dreamweaver can do it
goto find , then you will see a drop down menu at the top of the find window it will be labeld with "find in " in the drop the down menu beside you can choose "folder" or there is a program called , html search and replace , google it |
Quote:
|
Quote:
|
Quote:
|
Jesus Spacedog, I would have died fast if I had to do that. Check out ultraedit aswell - works like a charm.
|
Open Dreamweaver and hit ctrl + f
|
Dreamweaver does it just fine
|
homesite does that too..
|
Quote:
|
I've used this one for a few years.. works great.. Super simple..
|
ultraedit :)
|
Quote:
Are you serious Brother? Dreamweaver does it LOL so does home site which I believe comes packaged with dreamweaver now. Do extended find, and replace. It will give an option for directory, sub directory, file types to search, etc. |
Quote:
dreamweaver mx , can do it , but the sites need to be in the same dir/folder |
heh try editing 1000+ html pages chaning out some linking code that is different for every 10 pages. talk abotu time consuming. I should get a php script to do it
|
Quote:
|
I was needing this aswell!!!
|
Quote:
After spending some time trying to figure out how to get rid of sponsor links in a fast way across an entire 'static' site, I (finally) discovered Dreamweaver can successfully use Regular Expressions to find the list of everchanging styles of links, whether they be banners or different text. Check the regular expressions box in the 'Search for' panel This goes in the 'Search For' box when finding within your source code option. Code:
<a(.*?)(SOMETHING_IN_URL_UNIQUE_LIKE_YOUR_AFF_ID)(.*?)">(.*?\s*?.*?)</a> Anyway, I know it's nothing special, but might save someone some time. Oh, and if you use Dreamweaver this url might come in handy before your next crash. http://mm-exporter.joexx.de/ |
ok
Egomancer |
perl -p -i -e 's/old/new/g' `find ./ -name filename`
or perl -p -i -e 's/old/new/g' `grep -ril stringinfile *` |
i wanted to get rid of a chunk of data that changed every several pages
looked at the regular expression stuff , but then found this program called HTML Batch Editor by Lucersoft.com as long as the start and end of the data is the same you can batch delete the data from all your pages eg: delete banners , in your source code if you have <---banner---> then your banner data , then <--end banner--> you just tell html batch editor to start at <---banner---> and end at <--end banner--> then you tell it the files/folder you want , it will then go ahead and delete everything that lays between those two points |
Quote:
|
All times are GMT -7. The time now is 05:30 AM. |
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123