I have a feature layer on ArcGIS Online that contains a field of document names separated by commas (i.e. Easement1, Easement2, Easement3, etc.). In the web map viewer pop-up, I would like to list each document name and hyperlink each to its respective document stored on sharepoint. The pop-up element would look like something like below where W-0804 and W-0808 would each have a separate hyperlink to a document on a sharepoint site.

The link would looking something like this: https://testsite.sharepoint.com/sites/ROW/Easements/{Agreements}.pdf
This kicker is that I would need the W-0804 and W-0808 in the hyperlink in place of {Agreements}.
Thank you in advance!