I'm new to a regular expression. How can I select a pattern like data-v-**=""from a string?
Here is my code is to match that pattern: data-v-.+"$, but it's not working. Can anyone help me to fix it?
Example String:
<div data-v-41dfcbba="" class="aaaaaa" style="width: 100%; height: 100%;"><div data-v-fc1d9bbe="" data-v-41dfcbba="" style="height: 100%;"><div data-v-0392e45a="" data-v-fc1d9bbe="" class="example-class">
Expected result:
data-v-41dfcbba=""
data-v-fc1d9bbe=""
data-v-41dfcbba=""
data-v-0392e45a=""
data-v-fc1d9bbe=""