I have successfully written a regex pattern to scrape some value and it works really awesome but i am not getting how to name the capture group.
This is my string:
<div class="pipe-mailbody pipe-mailbody-2cccfb01-75f1-4fc0-9d5f-5f5ed8729d1b">Deal ID:<br>256<br><br>Deal pipeline ID:<br>3<br><br>Deal stage ID:<br>16<br><br>Deal contact person ID:<br>740<br><br>End:</div>
and this is my pattern:
Deal\sID\:\<br\>([\d]+)\<br\>[\<\>\d\w\s]+\:\<br\>([\d]+)<br><br>Deal\sstage\sID:<br\>([\d]+)<br\>[\d\s\>\<\S]+person\sID\:\<br>([\d]+)\<br\>
Can anyone help me how to name the capture group? like ([\d]+)
this is the one of capture group, i want to name it person
How can i achieve it?