How to create the following rules

string:

<img alt="" src="/admin/files/QQ%E6%88%AA%E5%9B%BE1.png" style="height:282px; width:393px" />

<img alt="" src="/admin/files/QQ%E6%88%AA%E5%9B%BE2.png" style="height:321px; width:486px" /><img alt="" src="/admin/files/QQ%E6%88%AA%E5%9B%BE3.png" style="height:327px; width:619px" />

I want to match the url, in the first src to change how to write

Oct.24,2021

src= (['"]) (. *?)\ 1 the second group of the first match

/src=(['"])(.*?)\1/.exec(`<img alt="" src='/admin/files/QQ%E6%88%AA%E5%9B%BE1.png' style='height:282px; width:393px' />

<img alt="" src='/admin/files/QQ%E6%88%AA%E5%9B%BE2.png' style='height:321px; width:486px' /><img alt="" src='/admin/files/QQ%E6%88%AA%E5%9B%BE3.png' style='height:327px; width:619px' />`)[2]

Menu