User:ExtorcDev/rmMaster.js: Difference between revisions

Content deleted Content added
ExtorcDev (talk | contribs)
No edit summary
ExtorcDev (talk | contribs)
No edit summary
Line 100:
result2 = data.query.pages[page2].revisions[0]['*'];
var newMatch = result2.match(/<!--.*/gm).toString() + '\n' + techReq;
console.log(newMatch);
result2 = result2.replace(/<!--.*/gm, newMatch);
console.log(result2);