find and replace question

I have around 1000 or so HTML pages that I need to seek out and remove identification of the author in the mailto link. These pages need to be analysed objectively, which is why we need to remove the identification.

I don't like the idea of performing a find and replace on all those files, so I am in search of a script of some kind, maybe automator, or PHP, or...

I am fairly proficient in PHP, but not in regular expressions, whcih is probably what I need to use here. Is there a regular expression expert around that can tell me how to do it? :)

Code:
[b]Pseudocode[/b]
Open HTML file
Search text to find [i]<a href="mailto:[/i]
remove everything from [i]<a href="mailto:[/i] to [i]</a>[/i]
 
Back
Top