jusfox/data/jusfox.js
Klaus-Uwe Mitterer 84e4ea93e4 Matching group. ^^
2016-07-20 21:20:32 +02:00

5 lines
173 B
JavaScript

if (document.body) {
var replaced = $("body:not(a)").html().replace(/\S{0}(§\S*)\b/g,
'<a href="javascript:alert($1)">$1</a>');
$("body").html(replaced);
};