I have the following elements:
<div customAttribute="1" > element 1 </div>
<div customAttribute="1-1" > element 1-1 </div>
<div customAttribute="1-1-1" > element 1-1-1 </div>
<div customAttribute="1-1-2" > element 1-1-2 </div>
<div customAttribute="1-2" > element 1-2 </div>
How can I get the all elements with the customAttribute
1-1,
1-2,
...
1-n
but not
1-1-1,
1-1-2,
...
1-1-n
with a CSS selector?