替换字符串中的数据
static String replace(String? text, Pattern from, String replace) { if (isEmpty(text)) { return ""; } return text!.replaceAll(from, replace); }