Input String:
var input = '<div><mark contenteditable="false" data-tag="ORG" data-content="Productions" class="zd9371e2d05f">Leeward Productions<span class="zd9a858eba95"><span>ORG </span> <span class="zd2589570ddc">x </span></span></mark><p>Sample text</p></div>'
I tried the following regex
new RegExp('data-tag="(.*?)"', 'ig')
new RegExp('data-content="(.*?)"', 'ig')
I need regex for both (data-tag, data-content)'s attribute value. Please help.
Thank you!.