replace_matches(pattern, a_text, a_template)
Returns a new text containing matching regular expressions replaced with the template text.
Parameters
- pattern (text) : Regular expression pattern.
- a_text (text or XText) : The text to search.
- a_template (text or XText) : The substitution template used when replacing matched texts.
Result
text