Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root


1 badge earned


Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!


Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.


Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!


Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

Exclude multiple headings in table of contents

I have multiple headings I'd like to now show up in the table of contents. 

I can get it to not show one of them, but I don't know how to add multiple. 

I saw somewhere online to put this:   (|)

but should there be a space between the heading title and that symbol or after or not at all? 


For example I have two headings called "purpose" and "Jump to" - Purpose excluded is working but how do I add "jump to" to also be excluded? 

purpose(|)jump to   ?

Thanks :) 

2 answers

2 votes

Hello @Addie Hutchins  yes, in the macro settings, there is exclude headings. The docs say:

Filter headings to exclude according to specific criteria. You can use wildcard characters.

If the headings you want to exclude areOverviewandSummary, enterOverview|Summaryin this field.

Full documentation is here 

For the example provided in the documentation, any headline with the word "Overview" in it is excluded. Headings with the text "Overview", "Overview of Work", "Executive Overview", "My Overview is the Best Overview" are all excluded.

The correct regex to use to match only "Overview" or "Summary" headings is:


^ is beginning of string. $ is end of string.

Note: TOC does not use any newline characters

Note: The Preview pane is not accurate.

The Preview Pane is displaying the accurate things for me once I got the format right :) 

0 votes
Pramodh M Community Leader Jan 08, 2022

Hi @Addie Hutchins 

No Space is best practice even though space works!!

and case sensitive!!


Suggest an answer

Log in or Sign up to answer

Atlassian Community Events