program that can seach and edit text stuff

EmperorNero

Golden Member
Jun 2, 2000
1,911
0
0
anyone know of a good program that can search for a string in a text file and replace it with another string of words? for example, if I want to change the picture size of an <IMG> element to 50x100 from 25x50 in a web page, that program would search for any instances of WIDTH=50 HEIGHT=25 and replace it with WIDTH=100 HEIGHT=50 (<--look! my first time using the highlighter :)). and if that program can search for text files within a whole directory, that would be even better.

edit: btw, I've tries search&amp;replace but found the layout unintuitive.
 

yllus

Elite Member & Lifer
Aug 20, 2000
20,577
432
126
Windows WordPad will pretty much do this for you, one textfile at a time. Check under Edit > Replace... and chuck WIDTH=50 HEIGHT=25 into the &quot;Find What&quot; field. Put WIDTH=100 HEIGHT=50 into the &quot;Replace With&quot; field and hit Replace All. Ta da! Move on to the next file. :)
 

Valhalla1

Diamond Member
Oct 13, 1999
8,678
0
76
umm... NOTEPAD.EXE

(if you are smart of course, and using NT 4 or 5, aka Windows 2000)
 

RaDragon

Diamond Member
May 23, 2000
4,123
1
71
I second EditPlus -- it's one great text editor! With the plain HTML files I have, if I need to change <IMG SRC=&quot;foo.gif&quot;> to <IMG SRC=&quot;bar.jpg&quot;> in all 56 .html files, EditPlus will do the job nicely.
 

EmperorNero

Golden Member
Jun 2, 2000
1,911
0
0
I need something more powerful than notepad/wordpad.

I've tried multi-replacer, textpad, find++, bkreplacem and none of them suited me. but I really like html batch editor but it isn't free (nor can I obtain it the illegal way).
 

tomcat

Golden Member
Oct 16, 1999
1,374
0
0
Search and Replace worked pretty well for me.. its not super intuitive but invest a little time and it works
 

khaosspawn

Member
Feb 22, 2001
155
0
0
If you're working &quot;code level&quot; on HTML then Homesite is a must for ya. It can do all that you mentioned.