Exclude div id or multiple classes from SelectorHTML

I am scraping a website with following schema:

<div class="text">
   <div id="id-elem" class="class-one classtwo classthree classfour class-five">
   </div>
Here is the HTML code I want to scrape
</div>

So my SelectorHTML was "div.text" and I want to exclude the id-elem, either by id or by any of the other 5 classes. I have tried all combinations like so:

div.text:not(.class-one)
div.text:not(.classtwo)
div.text:not(#id-elem)
div.text:not(#id-elem.class-one.classtwo.classthree.classfour.class-five)

I have found a workaroud through regex, by excluding all code in front of the code I wanted to scrape. The code I wanted to scrape is just after a closing nav and div so I excluded everything before that:

</nav></div>([\s\S]*)