I am using this pattern below
<a href=.*##ENCLICKTAG##2104.*s*</a>
To extract the first “a” tag content from this String below
<a href="##ENCLICKTAG##2104&&&https://www.naylornetwork.com/agm-nwl/pdf/CLC_Golf_Sponsorship_Flyer_2024_UPDATED_6.10.24.pdf">download the Sponsorship Form</a></strong> and return it to <a href="mailto:[email protected]">[email protected]</a>
But the pattern gives me the whole String and I want only the string before the first
Can I have a better regex pattern to work with?