Navigation Box - Based on specific headers

Navigation Box - Based on specific headers

Hi all.

Appreciate a lot of topics on this one, but having read up, nothing quite covers the specifics of what I need help with - fingers-crossed here!

I have inherited a site with around 200 profile pages - each page doesn't have a consistent html structure for headings (i.e. no div ids attached to each section and so on).

I'm looking for a jQuery solution that would create a navigation table of contents, but allow me to specify the 'jump to' points based on the exact text of certain headers. 

e.g - 

1. Heading 1 (jump to <h2>Specific Text 1</h2>)
2. Heading 1 (jump to <h2>Specific Text 2</h2>)
3. Heading 1 (jump to <h2>Specific Text 3</h2>)
4. Heading 1 (jump to <h2>Specific Text 4</h2>)

Sadly wouldn't work automating based on all h2s as there are some used that I wouldn't want to be part of the nav list (though could perhaps CSS them out?)

Hope the above is clear - complete jQuery novice!

Thanks in advance.