Replace with Variable Data from within the same file
Posted: Tue Dec 09, 2003 5:32 pm
I have a bunch of html files with
<title>A generic title that is the same for all files</title>
and then farther down in the file
<span>Title: This is the real title and it varies in all the files</span>
I have not been able to figure out a way to replace the generic title with the real title text within the span tags. I have been able to isolate the real title text but cannot figure out how to reuse it in a replace
Any help would be most appreciated.
John
<title>A generic title that is the same for all files</title>
and then farther down in the file
<span>Title: This is the real title and it varies in all the files</span>
I have not been able to figure out a way to replace the generic title with the real title text within the span tags. I have been able to isolate the real title text but cannot figure out how to reuse it in a replace
Any help would be most appreciated.
John