This is a simple doubt, I have in my HTML many attributes that starts with data-:
<span data-something="some"></span>
<p data-some="some"></p>
<div data-a-thing="some"></div>
<a data-other-thing="some"></a>
<section data-some-attribute="some"></section>
<span data-asd="some"></span>
<p data-some-invented-attribute="some"></p>
I want to select all tags whose attributes starts with: data-*, I want to use RegExp but isn't possible, is there any way to do it? Thanks!