JavaScript替换字符串中多个字符

mac2025-11-26  13

str.replace(/原字符/g, '新字符');
最新回复(0)