Using Notepad ++, Dreamweaver or some other editor, is it possible to use a regex which uses file name in the replace field?
For example:
There are files: firstfile.html
and secondfile.html
Find: yyy
Replace: "some regex for files name"
And then in those files wherever yyy
is found it will be replaced with the file's name.
In firstfile.html
- if there is yyy
it will be replaced with firstfile
.
In secondfile.html
- if there is yyy
it will be replaced with secondfile
.