How could I just match the first anchor tag and not all of them until the last one? Basically all of this: "<a...>...</a>" without the other ones? Would I need to sub the string before matching?
Here's what I got: https://regex101.com/r/hXh2JI/1
Thank you!
Try
<a[^>]*>[^<]*</a>