Hi,
I'm having a hard time finding the expression to enter in order to include or exclude a particular title to the TOC.
Can anyone help? Altassian's help pages redirects you to a very user unfriendly website you would need coding background knowledge to understand.
Thank you beforehand!
Hello @Oscar Cabezas Calzada , yes Regex is a more advanced topic, but there are many website out there they can help you understand how to write the correct expressions. Basically it is just like using wildcards.
Here is one intro page to look at: https://www.thisdot.co/blog/understanding-regex
And then here is a link to a tester I use: https://regex101.com/
The tester will save you a lot of time in trying figure out the correct syntax.
If you have an example of heading you want to exclude, you can just use the first few letters of the heading and it will work. You only need complex expressions when you have a lot of similar headings and need to differentiate based on some particular string.
Thanks a lot @Bill Bailey ! The tester was great help.
I was also able to manage the list of headings by playing with the Anchors.
Best regards,
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
See as well using the pipe ( | ) as a separator in a list of headline texts: [title1|title2|title3]
TOC Macro - Exclude two headings with different na... (atlassian.com)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.