Yes, it works well.
but there is a problem.
If I accidentally select the image and the text, there is no way to extract the link.
So I changed the regular expression "(file[^"]+)
It looks clumsy. But can barely work.
If I copy the image and text together you will get this text
<br class="" style="caret-color: rgb(230, 230, 230); color: rgb(230, 230, 230); font-family: Helvetica, "Lucida Grande", Lucida, Verdana, sans-serif; font-size: 13.333333015441895px; font-style: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; text-decoration: none;"><img src="file:///var/folders/f_/v7vs50394951q1rw3s7mt_ww0000gn/T/com.eusoft.eudic.QuickLook/_mdx_1_1310462979/img/zzz_fire.jpg" class="" style="caret-color: rgb(230, 230, 230); color: rgb(230, 230, 230); font-family: Helvetica, "Lucida Grande", Lucida, Verdana, sans-serif; font-size: 13.333333015441895px; font-style: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; text-decoration: none;">