I'm putting together an automation that matches a block of text. What I'd like to do is take the text and remove the wiki markup from it. This is what I have for the matching section
{{issue.description.match("(?s)Deployment to Production\*\s*(.*?)\s*h1\. \*\Deployment to Staging\*")}}
The text it matches looks like this
h1. *Deployment to Production*
*Documentation:*
Links and other bullet points
h1. *Deployment to Staging*
etc
I want to remove the asterisks and other wiki markup from the match and do something with the updated text.
How do I combine the match above with a replace?