User:GLTester/nolinks.js

$(document).ready( function{    $('#mw-content-text a:not(#toc a)').contents.unwrap  } )