Search and replace?

Can any one recommend a program (free or with trial) that can do a search and replace across multiple files with some ‘advanced’ search criteria?

Basically I want to be able to search across a number of .tpl files in a given directory. Find anywhere in those files "<table * width=“100%” (* would be a wild card. It could be nothing more than a space between table and width or could be border=“0” cellpadding=“4” cellspacing=“1” width=“100%”) And then replace it with “<table * with=“700px”” (again the wild card, but here the extra specs would not be edited if present)

I can’t just search for width=“100%” because that’s used other places than in the tables I want to change. So if anyone can suggest a a program that has this as a feature in it, or a stand alone that would be really great.



very good find and replace funtionality including the ability to use regular expressions


worked great! thanks.