SOURCE

var testStr = '<span1>恭喜!本次获得</span1><span2>现金借款大礼包一份</span2><span3>立即申请领取吧!</span3>';
console.log(testStr.match(/<span1>([\s\S]*?)<\/span1>/)[1]);
console.log(testStr.match(/<span2>([\s\S]*?)<\/span2>/)[1]);
console.log(testStr.match(/<span3>([\s\S]*?)<\/span3>/)[1]);
console 命令行工具 X clear

                    
>
console