RegExp rework - part 01

This is a first part of splitted PR #3223. (Actually part number zero was already merged #3251).
This part is simple replace '.GetReplaceString("\\x")' -> '.GetMatch(x);'