I wanted to do some regular expression to replace text in my html pages.
In the replaced text, I want to use the filename of the current file.
Is there a variable that I could use in my regular expression to do so?
to be replaced: <a href="#anchor1">Jump to anchor1</a>
to be replaced with <a href="test1.htm#anchor1">Jump to anchor1 in test1.htm</a>
Thanks in advance