GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   Best find & replace tool, for big jobs? (https://gfy.com/showthread.php?t=894458)

GotGauge 03-18-2009 11:57 AM

Best find & replace tool, for big jobs?
 
Looking for one that can replace several lines of code in about 5K html pages.
Seen i still had the old seccounter in several of my pages..

Code looks like this ... I just want to chop it out of 5K pages.

<!-- Begin Sexcounter -->
<div style="position:absolute;">
<script language="javascript" type="text/javascript"><!--


sw=screen.width+'x'+screen.height;
bd=screen.colorDepth;
dt=new Date();dt=dt.getTimezoneOffset()/-60;
loc=escape(document.location);
re=escape(parent.document.referrer);re=(re=="undef ined"||re=="")?"bookmark":re;
req="id="+5986+"&loc="+loc+"&re="+re+"&tz="+dt+"&s w="+sw+"&bd="+bd;
document.write('<img width=4 height=4 src="http://cs.sexcounter.com/cs/?'+req+'">');
//--></script>
<noscript><img src="http://cs.sexcounter.com/cs/?id=xxxx" width="4" height="4"></noscript>
</div>
<!-- End Sexcounter -->

AnniKN 03-18-2009 11:58 AM

try Textpad :) it's a breeze

Sly 03-18-2009 11:59 AM

You could probably have a programmer write you a very simple script to do it...

GotGauge 03-18-2009 12:00 PM

Quote:

Originally Posted by Sly (Post 15644422)
You could probably have a programmer write you a very simple script to do it...

Ok,
I also just put a ticket in with my host, they might be able to!

u-Bob 03-18-2009 12:23 PM

perl :)


All times are GMT -7. The time now is 05:50 AM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc