Looking for an better solution to take an batch of folders or seperate, that
include several .txt, and .php files which will search and replace an
symbol which is also
included inside these files from an
($ or # or other) to the that files name without the file type.
example
folder ---> folder1
includes ---> word1.txt word1.php word2.txt word2.php word3.txt word3.php
the process
word1.txt, word1.php
---> page: $, <a href="$.php" class="welcome">$</a>
into the following:
word1.txt, word1.php
---> page: word1, <a href="word1.php" class="welcome">word1</a> |