Hi, Regex.Replace return the changed string:
Dim rgx AsNew Regex("(?<ampchar>\&)") retstr = rgx.Replace(retstr,"${ampchar}replaced") MsgBox("result is: """& retstr &"""")
Koopakiller [kuːpakɪllɐ] http://koopakiller.ko.ohost.de/