[Tex/LaTex] Add chapter to TOC without page number

page-numberingtable of contents

How can I add a chapter entry to TOC without showing the correspondent page number?
my documentclass is report and I am generating my TOC like this:

\phantomsection 
\pdfbookmark{\Contents}{contents}
\tableofcontents

Thank you.

Best Answer

You could load the tocloft package and issue the command \cftpagenumbersoff{chapter}. This will suppress the showing of the page numbers of chapter-type entries globally.

To make this change apply to only a single instance of a chapter, you might type

\addtocontents{toc}{\cftpagenumbersoff{chapter}}
\chapter{XYZ}
...
\addtocontents{toc}{\cftpagenumberson{chapter}} % to restore the showing of page numbers