I have a page where I want a table of contents at the top of the page for something that's going on down at the bottom of the page. (They're too far separated to use TOC Zone.)
My workaround was this:
- Add an "O" to the end of each header I don't want to include and change the font color to white to make it invisible
- Go into the TOC macro and tell it to exclude any heading that has an O at the end of it
However... my regex in the "Exclude Headings" box isn't doing what I expect it to do, even though the Regex101 validator says it's correct.
I have this:

It's not working -- all of those headers are still showing up in my macro preview and on the page when I save it. What am I missing?