I'm sure this has been asked before, but I could not find an answer for this specific use case and regex is so confusing to me that unless it is solving exactly the same thing I can't seem to apply the answer to my issue.
I have html source that looks like this
...
'https://actiona6.criflending.com/Core/WebServices/PartyDetails.asmx';asm.IsTwnsEnabled = false;asm.pPrintCreditFileURL =
'https://actiona6.criflending.com/Core/CreditHistoryDebtPad/PrintCreditFile.aspx';asm.appID = 128476;asm.PartyTypeEnum = {Individual: 8,Company: 3,Channel: 2}
;asm.parties[67268] = new asm.party(67268, 8, '2019-11-18T17:15:32.357',
2, false, false);$('[id*=lnkPrimaryApplicant]').data('pID',67268);asm.parties[67271] =
new asm.party(67271, 8, '2019-11-18T17:17:43.913', 2, false, false);asm.parties[11883] = new asm.party(11883, 2, '0001-01-01T00:00:00.000');});//]]>
</script>
...
Basically I need to get that primary ID, I believe the pattern will look like this always:
$('[id*=lnkPrimaryApplicant]').data('pID',67268)
Anyone know how I can extract just this number?