I have a link by exexplo:
<a href="#sessao">Sessão</a>
And another link:
<a href="https://...">Link Externo</a>
I would like to know how, I believe by regular expression, a way to test if my link contains "#", so I can give a preventDefault whatsoever!