Is there a way to search a config file for filenames with the extension .php, and append
either to the front of the filename or the end of the filename a number (s) or letter(s)?
For example, lets say you have built a config file with numerous constants like:
define('SPECIALS' , 'special.php');
and you want to change the filename to 'special100' or 'special101' depending on what the case may be. and return a new config file with all the changes in place.
If anyone has any ideas or if there is already a script for this function it would be a great healp.