I am trying to regex email addresses from a set of source code. The data can be found as an attribute to <a href>
tags. It's this: data-email="example@email.com"
I'm quite new to regex and came up with this: /\w+\s*=\s*".*?"/
but it doesn't seem to work. Getting my head around it all is difficult.
What could I do?
Appreciate any help.