A RegExp does not replace anything, it just matches. You can use a RegExp to match the characters you need to replace, and then use `String.replaceAllMapped` to find those characters in a string and replace them with something else.
I'd do it as:
final matchRE = RegExp(r"[çÇğĞıİşŞöÖüÜ]");
final replacementMap = Map.fromIterables("çÇğĞıİşŞöÖüÜ".split(""), "cCgGiIsSoOuU".split(""));
String replaceMyChars(String input) =>
input.replaceAllMapped(matchRE, (m) => replacementMap[m[0]]);
/L