Best way to edit multiple html files with different variables?

Discussion in 'Search Engine Optimization' started by astup1didiot, Dec 22, 2007.

  1. #1
    Does anyone know a good method to mass edit a lot of files and replace certian things different on each page? Here is what I mean...

    I have about 2000 html files, they are all named like this below...

    picture-0001.html
    picture-0002.html
    and so on...

    I have created all these pages the same and put certian strings where i wanted to edit each file, below is an example

    (((0000))) = 0001, 0002 (basicly the number of the picture)

    I want to be able to edit all the files at once but have them change correctly, maybe by using the file name it can pull out what I want (((0000) to be set to? Can anyone help out?
     
    astup1didiot, Dec 22, 2007 IP