I've got a lot of .html files that need to be changed. Basically, I need to search for all links that are in the form <a href="../index.html#n" where "n" is any number, OR in the form <a href="..index_n.html#n" where "n" is any number.

I know this can be done with regular expressions but I haven't been able to figure how the exact search strings yet.

Any help would be greatly appreciated.