I have a span id with textContent which have their own time(hour/minutes)
<div class="here">
<span class="time" >8 min</span>
</div>
<div class="here">
<span class="time" >22 min</span>
</div>
<div class="here">
<span class="time" >38 min</span>
</div>
<div class="here">
<span class="time" >1 hour</span>
</div>
<div class="here">
<span class="time" >1 day</span>
</div>
Is there a way to display only the text of spans that contain times less than 60 minutes? I need to exclude the text from spans that show 1 hour or 1 day. It is important for my project to include strings with numbers.