题目:“A2B3”这样的字符串,输出“AABBB” 解法:'A2B3'.replace(/(([a-zA-Z]+)(\d+))/g, (match, content, char, repeat) => String(char).repeat(repeat))