Can someone please help me.
I have an html tag:
I'm trying to use regex to find this div which has a unique id and I want to strip out the data portion that has the PDF file name.
I was trying
I'm not getting anywhere and I'm useless at regex. I simply want to find a <div match id="myid" then get the value contents of data=""
Thanks
NATE
I have an html tag:
Code:
<div id="myid" class="myclass " data="QAZwsxedc12345.pdf" data-height="100" data-width="100">
I'm trying to use regex to find this div which has a unique id and I want to strip out the data portion that has the PDF file name.
I was trying
Code:
<div\sid=\"myid\"\sclass=\"myclass\s\"\sdata=\"[a-zA-Z0-9].pdf\"
I'm not getting anywhere and I'm useless at regex. I simply want to find a <div match id="myid" then get the value contents of data=""
Thanks
NATE