Thank you Graham - this works like a charm.
Also thanks for the link to your page.
One follow-up question if I may, it turns out the document I have isnt consistent on the Article titles and has between zero and 2 spaces after the article number and the Paragraph mark. eg:
Article 1^13
Article 2 ^13
Article 3 ^13
Is there a way to remove these as well?
I probably should be able to solve this, but after a night up wrestling with the rest of the document its a little beyond me at the moment.
Thanks again
GreenBoy
|