Pasting Filename into text
Posted: Fri Jul 14, 2006 3:05 pm
Hi,
I'm using registered version of 2.3, which I bought today
I have about 1500 html files that I need to replace a string of text in the original with the actual file name. For example:
File name is Cannon.html, this is a example of just one file. All the rest are the same but with different file names.
And the html code within that document goes as follows:
<!applet code="Minus4j.class" codebase="./" width=60% height=60% archive="Minus4j.jar">
<!applet code="Minus4j.class" codebase="./" width=60% height=60% archive="Minus4j.jar">
<applet code="Minus4j.class" codebase="./" width=60% height=60% archive="Minus4j.jar">
<param name="rom" value="plus4.rom">
<param name="prg" value="A_07.prg">
<param name="fps" value="50">
<param name="round" value="255">
</applet>
</p>
I want to do a batch find and replace it to look like the following:
<!applet code="Minus4j.class" codebase="./" width=60% height=60% archive="Minus4j.jar">
<!applet code="Minus4j.class" codebase="./" width=60% height=60% archive="Minus4j.jar">
<applet code="Minus4j.class" codebase="./" width=60% height=60% archive="Minus4j.jar">
<param name="rom" value="plus4.rom">
<param name="prg" value="Cannon.html">
<param name="fps" value="50">
<param name="round" value="255">
</applet>
</p>
I've tried following a few solutions on your forum, but they dont seem to work for me
Is there any chance you can help me out on this?
Thank you so much for this brilliant product.
Regards,
Chris
I'm using registered version of 2.3, which I bought today

I have about 1500 html files that I need to replace a string of text in the original with the actual file name. For example:
File name is Cannon.html, this is a example of just one file. All the rest are the same but with different file names.
And the html code within that document goes as follows:
<!applet code="Minus4j.class" codebase="./" width=60% height=60% archive="Minus4j.jar">
<!applet code="Minus4j.class" codebase="./" width=60% height=60% archive="Minus4j.jar">
<applet code="Minus4j.class" codebase="./" width=60% height=60% archive="Minus4j.jar">
<param name="rom" value="plus4.rom">
<param name="prg" value="A_07.prg">
<param name="fps" value="50">
<param name="round" value="255">
</applet>
</p>
I want to do a batch find and replace it to look like the following:
<!applet code="Minus4j.class" codebase="./" width=60% height=60% archive="Minus4j.jar">
<!applet code="Minus4j.class" codebase="./" width=60% height=60% archive="Minus4j.jar">
<applet code="Minus4j.class" codebase="./" width=60% height=60% archive="Minus4j.jar">
<param name="rom" value="plus4.rom">
<param name="prg" value="Cannon.html">
<param name="fps" value="50">
<param name="round" value="255">
</applet>
</p>
I've tried following a few solutions on your forum, but they dont seem to work for me

Thank you so much for this brilliant product.
Regards,
Chris