String preg_replace(String srcKey, String keyVal, String text) { return text.replaceAll(RegExp(srcKey), keyVal); }