Hi,
I have a text file with content as
----------------------------
BEGIN REPORT: report1
r1a
r1b
END REPORT: report1
----------------------------
BEGIN REPORT: report2
r2a
r2b
END REPORT: report2
-----------------------------
BEGIN REPORT: report3
r3a
r3b
END REPORT: report3
-----------------------------
How can I read and Overwrite this text file such that "BEGIN REPORT: report3" is replaced with "BEGIN REPORT: <a href="#report3">report3</a> always.
Thanks a lot for your help
~Kalyan