I need a regex to find and insert anchor tags with a span child. e.g.
replace:
<a
href="https://en.wikipedia.org/wiki/Edward_Seymour,_1st_Duke_of_Somerset"
title="Edward Seymour, 1st Duke of Somerset"
>Edward Seymour, 1st Duke of Somerset</a
>
with:
<a
href="https://en.wikipedia.org/wiki/Edward_Seymour,_1st_Duke_of_Somerset"
title="Edward Seymour, 1st Duke of Somerset"
><span>Edward Seymour, 1st Duke of Somerset</span></a
>
The search will be in VS Code so there will be newlines and cr to contend with. I have gotten as close with
(.+?>){1}([a-z])*