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