What I am looking to accomplish is to search a page's body for a specific string using RegEx and then replace that text with an HTML link to be rendered by Confluence Cloud. I am currently doing this is in Server with custom JavaScript in the "custom header/footer" section of the admin interface but I am now faced with finding an equivalent solution for the cloud.
My imagination thinks I may be able to use the PageView event in ScriptRunner to manipulate the page body and return a new body to be rendered. I haven't seen any examples of this, is it possible?