replacex ( haystack , regex , tostring )
Return a new string where all occurrences of substrings matching the regular expression regex are replaced by tostring in the string haystack.
a$ = "Ouvi bossa e saí da fossa" print Replacex(a$,"bossa","sopa") print Replacex(a$, "[bf]ossa", "sopa")
will display
Ouvi sopa e saí da fossa Ouvi sopa e saí da sopa
0.9.6.56