At the risk of being attacked for asking one of these questions again:
Ways to avoid 'Package hyperref Warning: Token not allowed in a PDF string' warning
Hyperref warning - Token not allowed in a PDF string
Hyperref - Token not allowed
I decided to add hyperref and of course I'm getting these warnings because I have a document with sections & a table of contents where I've used $...$ symbols to type math in many of the section titles (I understand that the pdf is trying to create bookmark names using these titles, and has trouble with math).
However, looking at the submitted answers, I'd rather not have to go in and do anything that involves manually fixing each of the section titles (like add in a \texorpdfstring to each one, and/or change to \(...\) everywhere. Also, I'd like to not have to "remember a different set of rules" for section headers: I would like to keep using $...$ for inline math ubiquitously.
Is there any way I can use hyperref links in my document that doesn't involve changing the math inside each of my section titles?
I have tried (but not really understood) the \pdfstringdefDisableCommands command, but I'm not sure exactly how to ignore the $ symbols. Notice the answer above used \(...\). So if someone can help explain how to do that, I'd appreciate it.

\section{$a$}will trigger this. And in my case I don’t want to disable the bookmarks, I use them. But I tried hard and unfortunately @Keshav it does not seems possible to “disable”$. Else it would have been shown in your first link (which I still count your question as a duplicate of). – Archange Oct 26 '21 at 05:43