Wikipedia:AutoEd/isbn.js

function autoEdISBN(str) { //MAIN FUNCTION describes list of fixes

//Allows WikiMagic to work with ISBNs str = str.replace(/ISBN-10:|ISBN-13:|ISBN-10|ISBN-13|ISBN:/gi, 'ISBN');

return str; }