Hi, You may need to open individual files by using some for loop and after reading all the contents of a single fine in a string, try applying a regular expression something like this - $FileContent =~ s/\.html/.php/g;
Once regular expression succesully applied, write back the string into the same file. Let me know if you get into any problem. /Naidu "Mário Gamito" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hi, > > I have thos huge site that is (was) all in .html files. > I've made it dinamyc in PHP and changed all the filename extensions from > .html to .php > > My question is how do i change all ocorrences of the string ".html" to > ".php" inside all the files to change the links for all pages in a snap ? > > I've made several tries, but none worked :( > > Any help would be appreciated. > > Warm Regards > -- > :wq! Mário Gamito -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/