I often need to paste Word documents with hyperlinks into a plain text editor/platform, which strips out hyperlinks. So I don't have to then manually insert the links, is there a Word macro that can convert each hyperlink into its corresponding html? Here's what I want to do for all hyperlinks in a document:
Transform hyperlinked text such as "as reported in NEJM" which, when clicked, goes to https://www.nejm.org/doi/full/10.1056/nejmoa1112010 and replace it with:
<a target="_blank" href="https://www.nejm.org/doi/full/10.1056/nejmoa1112010">as reported in NEJM</a>
Thanks in advance for any suggestions.
pjs