Javascript code replace help
Posted: Tue Dec 28, 2004 5:46 pm
I'm trying to replace this block of code on a website tree of mine and am having some strange problems. If I load a test file from the directory that I'm searching and do a test find it works well, but when I hit Replace All it doesn't replace anything - even in the test file!
What I'm trying to replace (actually, remove) :
I wasn't using a regex as the literal block of text seemed to work in the test searching. Please let me know if I'm doing something wrong!
Thanks!
What I'm trying to replace (actually, remove) :
Code: Select all
<script language="javascript" src="http://track.roiservice.com/track/track.aspx?ROIID=12345"></script>
<script language="javascript">
if (typeof(ROIID) + '' != 'undefined')
{
TrackEvent('LandingPage', 0);
}
</script>
Thanks!