for example I have this html
<div class="item-1">a</div>
<div class="item-3">b</div>
<div class="item-6">c</div>
<div class="item-8">aaaaaa</div>
...... item-x keep increasing randomly on it class
<div class="item-100">aaaaaa</div>
I want to scrap all of the class item-X where the value of X is between 5 to 10
I know how to search with a partial class name
text = soup.select('div[class*="item-"]')
but I don't know how to add conditions for it