public static String convertLinkPlaceholdersToHyperlinks(String text) {

		Pattern p = Pattern.compile("<!-- LINK CONTENT=\"(.*?)\" -->");

		StringBuffer buffy = new StringBuffer();
		Matcher matcher = p.matcher(text);
		while (matcher.find()) {
			String content = matcher.group(1);
			String escaped = content.replace("$", "\\$");
			String updated = "<a href=\"" + escaped + "\">";
			matcher.appendReplacement(buffy, updated);
		}

		matcher.appendTail(buffy);

		String pass1 = buffy.toString();
		String pass2 = pass1.replaceAll(LINK_PLACEHOLDER_CLOSE, "</a>");
		return pass2;
	}
Takes HTML text wrapped by {@link #wrapWithLinkPlaceholder(String, String)} and replaces
the custom link comment tags with HTML anchor (<code>A</code>) tags, where the
<code>HREF</code> value is the value that was in the <code>CONTENT</code> attribute.

@param text the text for which to replace the markup
@return the updated text
Ghidra/Framework/Gui/src/main/java/ghidra/util/HTMLUtilities.java