OK. 3 levels of heading isn't too common. So I'll sharpen up my regex.
However, simply deleting lower level headings in the TOC is not good.
If it doesn't combine them it should leave them.
Now it erases all subheads within a chapter.
And configurable separator character would be nice.
|