I have the following string:
<p class=MsoNormal><b>Customer Email: <o:p></o:p></b></p></td><td width=""75%"" valign=top style='width:75.0%;border:none;padding:0in 0in 11.25pt 0in'><p class=MsoNormal><a href=""mailto:username@gmail.com""">
I'm trying to capture just the email address (username@gmail.com) from the above string using regex. I'm using the following regex:
Customer Email.*?mailto:(.*?)"
Testing the above regex in Notepad++, instead of it just matching the email address, it is matching everything from (and including) "Customer Email"
all the way to the "
just after the email address.
I need the regex to just match the email address, and the platform that the regex has to do that in is Notepad++
Any ideas on why it is matching everything instead of just what it should be matching in the (.*?)