// access-date

// Januar
oldText = oldText.replace(/({{[ ]*(cite (web|news))[^}]+?)(access-date[ ]*=[ ]*)(January|Jan) ([0-9]{4})/ig, '$1$4$6-01-00');
oldText = oldText.replace(/({{[ ]*(cite (web|news))[^}]+?)(access-date[ ]*=[ ]*)(January|Jan) (\d), ([0-9]{4})/ig, '$1$4$7-01-0$6');
oldText = oldText.replace(/({{[ ]*(cite (web|news))[^}]+?)(access-date[ ]*=[ ]*)(January|Jan) (\d{2}), ([0-9]{4})/ig, '$1$4$7-01-$6');
oldText = oldText.replace(/({{[ ]*(cite (web|news))[^}]+?)(access-date[ ]*=[ ]*)(\d) (January|Jan) ([0-9]{4})/ig, '$1$4$7-01-0$5');
oldText = oldText.replace(/({{[ ]*(cite (web|news))[^}]+?)(access-date[ ]*=[ ]*)(\d{2}) (January|Jan) ([0-9]{4})/ig, '$1$4$7-01-$5');

// Februar
oldText = oldText.replace(/({{[ ]*(cite (web|news))[^}]+?)(access-date[ ]*=[ ]*)(February|Feb) ([0-9]{4})/ig, '$1$4$6-02-00');
oldText = oldText.replace(/({{[ ]*(cite (web|news))[^}]+?)(access-date[ ]*=[ ]*)(February|Feb) (\d), ([0-9]{4})/ig, '$1$4$7-02-0$6');
oldText = oldText.replace(/({{[ ]*(cite (web|news))[^}]+?)(access-date[ ]*=[ ]*)(February|Feb) (\d{2}), ([0-9]{4})/ig, '$1$4$7-02-$6');
oldText = oldText.replace(/({{[ ]*(cite (web|news))[^}]+?)(access-date[ ]*=[ ]*)(\d) (February|Feb) ([0-9]{4})/ig, '$1$4$7-02-0$5');
oldText = oldText.replace(/({{[ ]*(cite (web|news))[^}]+?)(access-date[ ]*=[ ]*)(\d{2}) (February|Feb) ([0-9]{4})/ig, '$1$4$7-02-$5');

// März
oldText = oldText.replace(/({{[ ]*(cite (web|news))[^}]+?)(access-date[ ]*=[ ]*)(March|Mar) ([0-9]{4})/ig, '$1$4$6-03-00');
oldText = oldText.replace(/({{[ ]*(cite (web|news))[^}]+?)(access-date[ ]*=[ ]*)(March|Mar) (\d), ([0-9]{4})/ig, '$1$4$7-03-0$6');
oldText = oldText.replace(/({{[ ]*(cite (web|news))[^}]+?)(access-date[ ]*=[ ]*)(March|Mar) (\d{2}), ([0-9]{4})/ig, '$1$4$7-03-$6');
oldText = oldText.replace(/({{[ ]*(cite (web|news))[^}]+?)(access-date[ ]*=[ ]*)(\d) (March|Mar) ([0-9]{4})/ig, '$1$4$7-03-0$5');
oldText = oldText.replace(/({{[ ]*(cite (web|news))[^}]+?)(access-date[ ]*=[ ]*)(\d{2}) (March|Mar) ([0-9]{4})/ig, '$1$4$7-03-$5');

// April
oldText = oldText.replace(/({{[ ]*(cite (web|news))[^}]+?)(access-date[ ]*=[ ]*)(April|Apr) ([0-9]{4})/ig, '$1$4$6-04-00');
oldText = oldText.replace(/({{[ ]*(cite (web|news))[^}]+?)(access-date[ ]*=[ ]*)(April|Apr) (\d), ([0-9]{4})/ig, '$1$4$7-04-0$6');
oldText = oldText.replace(/({{[ ]*(cite (web|news))[^}]+?)(access-date[ ]*=[ ]*)(April|Apr) (\d{2}), ([0-9]{4})/ig, '$1$4$7-04-$6');
oldText = oldText.replace(/({{[ ]*(cite (web|news))[^}]+?)(access-date[ ]*=[ ]*)(\d) (April|Apr) ([0-9]{4})/ig, '$1$4$7-04-0$5');
oldText = oldText.replace(/({{[ ]*(cite (web|news))[^}]+?)(access-date[ ]*=[ ]*)(\d{2}) (April|Apr) ([0-9]{4})/ig, '$1$4$7-04-$5');

// Mai
oldText = oldText.replace(/({{[ ]*(cite (web|news))[^}]+?)(access-date[ ]*=[ ]*)(May) ([0-9]{4})/ig, '$1$4$6-05-00');
oldText = oldText.replace(/({{[ ]*(cite (web|news))[^}]+?)(access-date[ ]*=[ ]*)(May) (\d), ([0-9]{4})/ig, '$1$4$7-05-0$6');
oldText = oldText.replace(/({{[ ]*(cite (web|news))[^}]+?)(access-date[ ]*=[ ]*)(May) (\d{2}), ([0-9]{4})/ig, '$1$4$7-05-$6');
oldText = oldText.replace(/({{[ ]*(cite (web|news))[^}]+?)(access-date[ ]*=[ ]*)(\d) (May) ([0-9]{4})/ig, '$1$4$7-05-0$5');
oldText = oldText.replace(/({{[ ]*(cite (web|news))[^}]+?)(access-date[ ]*=[ ]*)(\d{2}) (May) ([0-9]{4})/ig, '$1$4$7-05-$5');

// Juni
oldText = oldText.replace(/({{[ ]*(cite (web|news))[^}]+?)(access-date[ ]*=[ ]*)(June|Jun) ([0-9]{4})/ig, '$1$4$6-06-00');
oldText = oldText.replace(/({{[ ]*(cite (web|news))[^}]+?)(access-date[ ]*=[ ]*)(June|Jun) (\d), ([0-9]{4})/ig, '$1$4$7-06-0$6');
oldText = oldText.replace(/({{[ ]*(cite (web|news))[^}]+?)(access-date[ ]*=[ ]*)(June|Jun) (\d{2}), ([0-9]{4})/ig, '$1$4$7-06-$6');
oldText = oldText.replace(/({{[ ]*(cite (web|news))[^}]+?)(access-date[ ]*=[ ]*)(\d) (June|Jun) ([0-9]{4})/ig, '$1$4$7-06-0$5');
oldText = oldText.replace(/({{[ ]*(cite (web|news))[^}]+?)(access-date[ ]*=[ ]*)(\d{2}) (June|Jun) ([0-9]{4})/ig, '$1$4$7-06-$5');

// Juli
oldText = oldText.replace(/({{[ ]*(cite (web|news))[^}]+?)(access-date[ ]*=[ ]*)(July|Jul) ([0-9]{4})/ig, '$1$4$6-07-00');
oldText = oldText.replace(/({{[ ]*(cite (web|news))[^}]+?)(access-date[ ]*=[ ]*)(July|Jul) (\d), ([0-9]{4})/ig, '$1$4$7-07-0$6');
oldText = oldText.replace(/({{[ ]*(cite (web|news))[^}]+?)(access-date[ ]*=[ ]*)(July|Jul) (\d{2}), ([0-9]{4})/ig, '$1$4$7-07-$6');
oldText = oldText.replace(/({{[ ]*(cite (web|news))[^}]+?)(access-date[ ]*=[ ]*)(\d) (July|Jul) ([0-9]{4})/ig, '$1$4$7-07-0$5');
oldText = oldText.replace(/({{[ ]*(cite (web|news))[^}]+?)(access-date[ ]*=[ ]*)(\d{2}) (July|Jul) ([0-9]{4})/ig, '$1$4$7-07-$5');

// August
oldText = oldText.replace(/({{[ ]*(cite (web|news))[^}]+?)(access-date[ ]*=[ ]*)(August|Aug) ([0-9]{4})/ig, '$1$4$6-08-00');
oldText = oldText.replace(/({{[ ]*(cite (web|news))[^}]+?)(access-date[ ]*=[ ]*)(August|Aug) (\d), ([0-9]{4})/ig, '$1$4$7-08-0$6');
oldText = oldText.replace(/({{[ ]*(cite (web|news))[^}]+?)(access-date[ ]*=[ ]*)(August|Aug) (\d{2}), ([0-9]{4})/ig, '$1$4$7-08-$6');
oldText = oldText.replace(/({{[ ]*(cite (web|news))[^}]+?)(access-date[ ]*=[ ]*)(\d) (August|Aug) ([0-9]{4})/ig, '$1$4$7-08-0$5');
oldText = oldText.replace(/({{[ ]*(cite (web|news))[^}]+?)(access-date[ ]*=[ ]*)(\d{2}) (August|Aug) ([0-9]{4})/ig, '$1$4$7-08-$5');

// September
oldText = oldText.replace(/({{[ ]*(cite (web|news))[^}]+?)(access-date[ ]*=[ ]*)(September|Sep) ([0-9]{4})/ig, '$1$4$6-09-00');
oldText = oldText.replace(/({{[ ]*(cite (web|news))[^}]+?)(access-date[ ]*=[ ]*)(September|Sep) (\d), ([0-9]{4})/ig, '$1$4$7-09-0$6');
oldText = oldText.replace(/({{[ ]*(cite (web|news))[^}]+?)(access-date[ ]*=[ ]*)(September|Sep) (\d{2}), ([0-9]{4})/ig, '$1$4$7-09-$6');
oldText = oldText.replace(/({{[ ]*(cite (web|news))[^}]+?)(access-date[ ]*=[ ]*)(\d) (September|Sep) ([0-9]{4})/ig, '$1$4$7-09-0$5');
oldText = oldText.replace(/({{[ ]*(cite (web|news))[^}]+?)(access-date[ ]*=[ ]*)(\d{2}) (September|Sep) ([0-9]{4})/ig, '$1$4$7-09-$5');

// Oktober
oldText = oldText.replace(/({{[ ]*(cite (web|news))[^}]+?)(access-date[ ]*=[ ]*)(October|Oct) ([0-9]{4})/ig, '$1$4$6-10-00');
oldText = oldText.replace(/({{[ ]*(cite (web|news))[^}]+?)(access-date[ ]*=[ ]*)(October|Oct) (\d), ([0-9]{4})/ig, '$1$4$7-10-0$6');
oldText = oldText.replace(/({{[ ]*(cite (web|news))[^}]+?)(access-date[ ]*=[ ]*)(October|Oct) (\d{2}), ([0-9]{4})/ig, '$1$4$7-10-$6');
oldText = oldText.replace(/({{[ ]*(cite (web|news))[^}]+?)(access-date[ ]*=[ ]*)(\d) (October|Oct) ([0-9]{4})/ig, '$1$4$7-10-0$5');
oldText = oldText.replace(/({{[ ]*(cite (web|news))[^}]+?)(access-date[ ]*=[ ]*)(\d{2}) (October|Oct) ([0-9]{4})/ig, '$1$4$7-10-$5');

// November
oldText = oldText.replace(/({{[ ]*(cite (web|news))[^}]+?)(access-date[ ]*=[ ]*)(November|Nov) ([0-9]{4})/ig, '$1$4$6-11-00');
oldText = oldText.replace(/({{[ ]*(cite (web|news))[^}]+?)(access-date[ ]*=[ ]*)(November|Nov) (\d), ([0-9]{4})/ig, '$1$4$7-11-0$6');
oldText = oldText.replace(/({{[ ]*(cite (web|news))[^}]+?)(access-date[ ]*=[ ]*)(November|Nov) (\d{2}), ([0-9]{4})/ig, '$1$4$7-11-$6');
oldText = oldText.replace(/({{[ ]*(cite (web|news))[^}]+?)(access-date[ ]*=[ ]*)(\d) (November|Nov) ([0-9]{4})/ig, '$1$4$7-11-0$5');
oldText = oldText.replace(/({{[ ]*(cite (web|news))[^}]+?)(access-date[ ]*=[ ]*)(\d{2}) (November|Nov) ([0-9]{4})/ig, '$1$4$7-11-$5');

// Dezember
oldText = oldText.replace(/({{[ ]*(cite (web|news))[^}]+?)(access-date[ ]*=[ ]*)(December|Dec) ([0-9]{4})/ig, '$1$4$6-12-00');
oldText = oldText.replace(/({{[ ]*(cite (web|news))[^}]+?)(access-date[ ]*=[ ]*)(December|Dec) (\d), ([0-9]{4})/ig, '$1$4$7-12-0$6');
oldText = oldText.replace(/({{[ ]*(cite (web|news))[^}]+?)(access-date[ ]*=[ ]*)(December|Dec) (\d{2}), ([0-9]{4})/ig, '$1$4$7-12-$6');
oldText = oldText.replace(/({{[ ]*(cite (web|news))[^}]+?)(access-date[ ]*=[ ]*)(\d) (December|Dec) ([0-9]{4})/ig, '$1$4$7-12-0$5');
oldText = oldText.replace(/({{[ ]*(cite (web|news))[^}]+?)(access-date[ ]*=[ ]*)(\d{2}) (December|Dec) ([0-9]{4})/ig, '$1$4$7-12-$5');

// date

// Januar
oldText = oldText.replace(/({{[ ]*(cite (web|news))[^}]+?)(date[ ]*=[ ]*)(January|Jan) ([0-9]{4})/ig, '$1$4$6-01-00');
oldText = oldText.replace(/({{[ ]*(cite (web|news))[^}]+?)(date[ ]*=[ ]*)(January|Jan) (\d), ([0-9]{4})/ig, '$1$4$7-01-0$6');
oldText = oldText.replace(/({{[ ]*(cite (web|news))[^}]+?)(date[ ]*=[ ]*)(January|Jan) (\d{2}), ([0-9]{4})/ig, '$1$4$7-01-$6');
oldText = oldText.replace(/({{[ ]*(cite (web|news))[^}]+?)(date[ ]*=[ ]*)(\d) (January|Jan) ([0-9]{4})/ig, '$1$4$7-01-0$5');
oldText = oldText.replace(/({{[ ]*(cite (web|news))[^}]+?)(date[ ]*=[ ]*)(\d{2}) (January|Jan) ([0-9]{4})/ig, '$1$4$7-01-$5');

// Februar
oldText = oldText.replace(/({{[ ]*(cite (web|news))[^}]+?)(date[ ]*=[ ]*)(February|Feb) ([0-9]{4})/ig, '$1$4$6-02-00');
oldText = oldText.replace(/({{[ ]*(cite (web|news))[^}]+?)(date[ ]*=[ ]*)(February|Feb) (\d), ([0-9]{4})/ig, '$1$4$7-02-0$6');
oldText = oldText.replace(/({{[ ]*(cite (web|news))[^}]+?)(date[ ]*=[ ]*)(February|Feb) (\d{2}), ([0-9]{4})/ig, '$1$4$7-02-$6');
oldText = oldText.replace(/({{[ ]*(cite (web|news))[^}]+?)(date[ ]*=[ ]*)(\d) (February|Feb) ([0-9]{4})/ig, '$1$4$7-02-0$5');
oldText = oldText.replace(/({{[ ]*(cite (web|news))[^}]+?)(date[ ]*=[ ]*)(\d{2}) (February|Feb) ([0-9]{4})/ig, '$1$4$7-02-$5');

// März
oldText = oldText.replace(/({{[ ]*(cite (web|news))[^}]+?)(date[ ]*=[ ]*)(March|Mar) ([0-9]{4})/ig, '$1$4$6-03-00');
oldText = oldText.replace(/({{[ ]*(cite (web|news))[^}]+?)(date[ ]*=[ ]*)(March|Mar) (\d), ([0-9]{4})/ig, '$1$4$7-03-0$6');
oldText = oldText.replace(/({{[ ]*(cite (web|news))[^}]+?)(date[ ]*=[ ]*)(March|Mar) (\d{2}), ([0-9]{4})/ig, '$1$4$7-03-$6');
oldText = oldText.replace(/({{[ ]*(cite (web|news))[^}]+?)(date[ ]*=[ ]*)(\d) (March|Mar) ([0-9]{4})/ig, '$1$4$7-03-0$5');
oldText = oldText.replace(/({{[ ]*(cite (web|news))[^}]+?)(date[ ]*=[ ]*)(\d{2}) (March|Mar) ([0-9]{4})/ig, '$1$4$7-03-$5');

// April
oldText = oldText.replace(/({{[ ]*(cite (web|news))[^}]+?)(date[ ]*=[ ]*)(April|Apr) ([0-9]{4})/ig, '$1$4$6-04-00');
oldText = oldText.replace(/({{[ ]*(cite (web|news))[^}]+?)(date[ ]*=[ ]*)(April|Apr) (\d), ([0-9]{4})/ig, '$1$4$7-04-0$6');
oldText = oldText.replace(/({{[ ]*(cite (web|news))[^}]+?)(date[ ]*=[ ]*)(April|Apr) (\d{2}), ([0-9]{4})/ig, '$1$4$7-04-$6');
oldText = oldText.replace(/({{[ ]*(cite (web|news))[^}]+?)(date[ ]*=[ ]*)(\d) (April|Apr) ([0-9]{4})/ig, '$1$4$7-04-0$5');
oldText = oldText.replace(/({{[ ]*(cite (web|news))[^}]+?)(date[ ]*=[ ]*)(\d{2}) (April|Apr) ([0-9]{4})/ig, '$1$4$7-04-$5');

// Mai
oldText = oldText.replace(/({{[ ]*(cite (web|news))[^}]+?)(date[ ]*=[ ]*)(May) ([0-9]{4})/ig, '$1$4$6-05-00');
oldText = oldText.replace(/({{[ ]*(cite (web|news))[^}]+?)(date[ ]*=[ ]*)(May) (\d), ([0-9]{4})/ig, '$1$4$7-05-0$6');
oldText = oldText.replace(/({{[ ]*(cite (web|news))[^}]+?)(date[ ]*=[ ]*)(May) (\d{2}), ([0-9]{4})/ig, '$1$4$7-05-$6');
oldText = oldText.replace(/({{[ ]*(cite (web|news))[^}]+?)(date[ ]*=[ ]*)(\d) (May) ([0-9]{4})/ig, '$1$4$7-05-0$5');
oldText = oldText.replace(/({{[ ]*(cite (web|news))[^}]+?)(date[ ]*=[ ]*)(\d{2}) (May) ([0-9]{4})/ig, '$1$4$7-05-$5');

// Juni
oldText = oldText.replace(/({{[ ]*(cite (web|news))[^}]+?)(date[ ]*=[ ]*)(June|Jun) ([0-9]{4})/ig, '$1$4$6-06-00');
oldText = oldText.replace(/({{[ ]*(cite (web|news))[^}]+?)(date[ ]*=[ ]*)(June|Jun) (\d), ([0-9]{4})/ig, '$1$4$7-06-0$6');
oldText = oldText.replace(/({{[ ]*(cite (web|news))[^}]+?)(date[ ]*=[ ]*)(June|Jun) (\d{2}), ([0-9]{4})/ig, '$1$4$7-06-$6');
oldText = oldText.replace(/({{[ ]*(cite (web|news))[^}]+?)(date[ ]*=[ ]*)(\d) (June|Jun) ([0-9]{4})/ig, '$1$4$7-06-0$5');
oldText = oldText.replace(/({{[ ]*(cite (web|news))[^}]+?)(date[ ]*=[ ]*)(\d{2}) (June|Jun) ([0-9]{4})/ig, '$1$4$7-06-$5');

// Juli
oldText = oldText.replace(/({{[ ]*(cite (web|news))[^}]+?)(date[ ]*=[ ]*)(July|Jul) ([0-9]{4})/ig, '$1$4$6-07-00');
oldText = oldText.replace(/({{[ ]*(cite (web|news))[^}]+?)(date[ ]*=[ ]*)(July|Jul) (\d), ([0-9]{4})/ig, '$1$4$7-07-0$6');
oldText = oldText.replace(/({{[ ]*(cite (web|news))[^}]+?)(date[ ]*=[ ]*)(July|Jul) (\d{2}), ([0-9]{4})/ig, '$1$4$7-07-$6');
oldText = oldText.replace(/({{[ ]*(cite (web|news))[^}]+?)(date[ ]*=[ ]*)(\d) (July|Jul) ([0-9]{4})/ig, '$1$4$7-07-0$5');
oldText = oldText.replace(/({{[ ]*(cite (web|news))[^}]+?)(date[ ]*=[ ]*)(\d{2}) (July|Jul) ([0-9]{4})/ig, '$1$4$7-07-$5');

// August
oldText = oldText.replace(/({{[ ]*(cite (web|news))[^}]+?)(date[ ]*=[ ]*)(August|Aug) ([0-9]{4})/ig, '$1$4$6-08-00');
oldText = oldText.replace(/({{[ ]*(cite (web|news))[^}]+?)(date[ ]*=[ ]*)(August|Aug) (\d), ([0-9]{4})/ig, '$1$4$7-08-0$6');
oldText = oldText.replace(/({{[ ]*(cite (web|news))[^}]+?)(date[ ]*=[ ]*)(August|Aug) (\d{2}), ([0-9]{4})/ig, '$1$4$7-08-$6');
oldText = oldText.replace(/({{[ ]*(cite (web|news))[^}]+?)(date[ ]*=[ ]*)(\d) (August|Aug) ([0-9]{4})/ig, '$1$4$7-08-0$5');
oldText = oldText.replace(/({{[ ]*(cite (web|news))[^}]+?)(date[ ]*=[ ]*)(\d{2}) (August|Aug) ([0-9]{4})/ig, '$1$4$7-08-$5');

// September
oldText = oldText.replace(/({{[ ]*(cite (web|news))[^}]+?)(date[ ]*=[ ]*)(September|Sep) ([0-9]{4})/ig, '$1$4$6-09-00');
oldText = oldText.replace(/({{[ ]*(cite (web|news))[^}]+?)(date[ ]*=[ ]*)(September|Sep) (\d), ([0-9]{4})/ig, '$1$4$7-09-0$6');
oldText = oldText.replace(/({{[ ]*(cite (web|news))[^}]+?)(date[ ]*=[ ]*)(September|Sep) (\d{2}), ([0-9]{4})/ig, '$1$4$7-09-$6');
oldText = oldText.replace(/({{[ ]*(cite (web|news))[^}]+?)(date[ ]*=[ ]*)(\d) (September|Sep) ([0-9]{4})/ig, '$1$4$7-09-0$5');
oldText = oldText.replace(/({{[ ]*(cite (web|news))[^}]+?)(date[ ]*=[ ]*)(\d{2}) (September|Sep) ([0-9]{4})/ig, '$1$4$7-09-$5');

// Oktober
oldText = oldText.replace(/({{[ ]*(cite (web|news))[^}]+?)(date[ ]*=[ ]*)(October|Oct) ([0-9]{4})/ig, '$1$4$6-10-00');
oldText = oldText.replace(/({{[ ]*(cite (web|news))[^}]+?)(date[ ]*=[ ]*)(October|Oct) (\d), ([0-9]{4})/ig, '$1$4$7-10-0$6');
oldText = oldText.replace(/({{[ ]*(cite (web|news))[^}]+?)(date[ ]*=[ ]*)(October|Oct) (\d{2}), ([0-9]{4})/ig, '$1$4$7-10-$6');
oldText = oldText.replace(/({{[ ]*(cite (web|news))[^}]+?)(date[ ]*=[ ]*)(\d) (October|Oct) ([0-9]{4})/ig, '$1$4$7-10-0$5');
oldText = oldText.replace(/({{[ ]*(cite (web|news))[^}]+?)(date[ ]*=[ ]*)(\d{2}) (October|Oct) ([0-9]{4})/ig, '$1$4$7-10-$5');

// November
oldText = oldText.replace(/({{[ ]*(cite (web|news))[^}]+?)(date[ ]*=[ ]*)(November|Nov) ([0-9]{4})/ig, '$1$4$6-11-00');
oldText = oldText.replace(/({{[ ]*(cite (web|news))[^}]+?)(date[ ]*=[ ]*)(November|Nov) (\d), ([0-9]{4})/ig, '$1$4$7-11-0$6');
oldText = oldText.replace(/({{[ ]*(cite (web|news))[^}]+?)(date[ ]*=[ ]*)(November|Nov) (\d{2}), ([0-9]{4})/ig, '$1$4$7-11-$6');
oldText = oldText.replace(/({{[ ]*(cite (web|news))[^}]+?)(date[ ]*=[ ]*)(\d) (November|Nov) ([0-9]{4})/ig, '$1$4$7-11-0$5');
oldText = oldText.replace(/({{[ ]*(cite (web|news))[^}]+?)(date[ ]*=[ ]*)(\d{2}) (November|Nov) ([0-9]{4})/ig, '$1$4$7-11-$5');

// Dezember
oldText = oldText.replace(/({{[ ]*(cite (web|news))[^}]+?)(date[ ]*=[ ]*)(December|Dec) ([0-9]{4})/ig, '$1$4$6-12-00');
oldText = oldText.replace(/({{[ ]*(cite (web|news))[^}]+?)(date[ ]*=[ ]*)(December|Dec) (\d), ([0-9]{4})/ig, '$1$4$7-12-0$6');
oldText = oldText.replace(/({{[ ]*(cite (web|news))[^}]+?)(date[ ]*=[ ]*)(December|Dec) (\d{2}), ([0-9]{4})/ig, '$1$4$7-12-$6');
oldText = oldText.replace(/({{[ ]*(cite (web|news))[^}]+?)(date[ ]*=[ ]*)(\d) (December|Dec) ([0-9]{4})/ig, '$1$4$7-12-0$5');
oldText = oldText.replace(/({{[ ]*(cite (web|news))[^}]+?)(date[ ]*=[ ]*)(\d{2}) (December|Dec) ([0-9]{4})/ig, '$1$4$7-12-$5');

// (archivdate|archive-date)

// Januar
oldText = oldText.replace(/({{[ ]*(cite (web|news))[^}]+?)((archivdate|archive-date)[ ]*=[ ]*)(January|Jan) ([0-9]{4})/ig, '$1$4$6-01-00');
oldText = oldText.replace(/({{[ ]*(cite (web|news))[^}]+?)((archivdate|archive-date)[ ]*=[ ]*)(January|Jan) (\d), ([0-9]{4})/ig, '$1$4$8-01-0$7');
oldText = oldText.replace(/({{[ ]*(cite (web|news))[^}]+?)((archivdate|archive-date)[ ]*=[ ]*)(January|Jan) (\d{2}), ([0-9]{4})/ig, '$1$4$8-01-$7');
oldText = oldText.replace(/({{[ ]*(cite (web|news))[^}]+?)((archivdate|archive-date)[ ]*=[ ]*)(\d) (January|Jan) ([0-9]{4})/ig, '$1$4$8-01-0$6');
oldText = oldText.replace(/({{[ ]*(cite (web|news))[^}]+?)((archivdate|archive-date)[ ]*=[ ]*)(\d{2}) (January|Jan) ([0-9]{4})/ig, '$1$4$8-01-$6');

// Februar
oldText = oldText.replace(/({{[ ]*(cite (web|news))[^}]+?)((archivdate|archive-date)[ ]*=[ ]*)(February|Feb) ([0-9]{4})/ig, '$1$4$6-02-00');
oldText = oldText.replace(/({{[ ]*(cite (web|news))[^}]+?)((archivdate|archive-date)[ ]*=[ ]*)(February|Feb) (\d), ([0-9]{4})/ig, '$1$4$8-02-0$7');
oldText = oldText.replace(/({{[ ]*(cite (web|news))[^}]+?)((archivdate|archive-date)[ ]*=[ ]*)(February|Feb) (\d{2}), ([0-9]{4})/ig, '$1$4$8-02-$7');
oldText = oldText.replace(/({{[ ]*(cite (web|news))[^}]+?)((archivdate|archive-date)[ ]*=[ ]*)(\d) (February|Feb) ([0-9]{4})/ig, '$1$4$8-02-0$6');
oldText = oldText.replace(/({{[ ]*(cite (web|news))[^}]+?)((archivdate|archive-date)[ ]*=[ ]*)(\d{2}) (February|Feb) ([0-9]{4})/ig, '$1$4$8-02-$6');

// März
oldText = oldText.replace(/({{[ ]*(cite (web|news))[^}]+?)((archivdate|archive-date)[ ]*=[ ]*)(March|Mar) ([0-9]{4})/ig, '$1$4$6-03-00');
oldText = oldText.replace(/({{[ ]*(cite (web|news))[^}]+?)((archivdate|archive-date)[ ]*=[ ]*)(March|Mar) (\d), ([0-9]{4})/ig, '$1$4$8-03-0$7');
oldText = oldText.replace(/({{[ ]*(cite (web|news))[^}]+?)((archivdate|archive-date)[ ]*=[ ]*)(March|Mar) (\d{2}), ([0-9]{4})/ig, '$1$4$8-03-$7');
oldText = oldText.replace(/({{[ ]*(cite (web|news))[^}]+?)((archivdate|archive-date)[ ]*=[ ]*)(\d) (March|Mar) ([0-9]{4})/ig, '$1$4$8-03-0$6');
oldText = oldText.replace(/({{[ ]*(cite (web|news))[^}]+?)((archivdate|archive-date)[ ]*=[ ]*)(\d{2}) (March|Mar) ([0-9]{4})/ig, '$1$4$8-03-$6');

// April
oldText = oldText.replace(/({{[ ]*(cite (web|news))[^}]+?)((archivdate|archive-date)[ ]*=[ ]*)(April|Apr) ([0-9]{4})/ig, '$1$4$6-04-00');
oldText = oldText.replace(/({{[ ]*(cite (web|news))[^}]+?)((archivdate|archive-date)[ ]*=[ ]*)(April|Apr) (\d), ([0-9]{4})/ig, '$1$4$8-04-0$7');
oldText = oldText.replace(/({{[ ]*(cite (web|news))[^}]+?)((archivdate|archive-date)[ ]*=[ ]*)(April|Apr) (\d{2}), ([0-9]{4})/ig, '$1$4$8-04-$7');
oldText = oldText.replace(/({{[ ]*(cite (web|news))[^}]+?)((archivdate|archive-date)[ ]*=[ ]*)(\d) (April|Apr) ([0-9]{4})/ig, '$1$4$8-04-0$6');
oldText = oldText.replace(/({{[ ]*(cite (web|news))[^}]+?)((archivdate|archive-date)[ ]*=[ ]*)(\d{2}) (April|Apr) ([0-9]{4})/ig, '$1$4$8-04-$6');

// Mai
oldText = oldText.replace(/({{[ ]*(cite (web|news))[^}]+?)((archivdate|archive-date)[ ]*=[ ]*)(May) ([0-9]{4})/ig, '$1$4$6-05-00');
oldText = oldText.replace(/({{[ ]*(cite (web|news))[^}]+?)((archivdate|archive-date)[ ]*=[ ]*)(May) (\d), ([0-9]{4})/ig, '$1$4$8-05-0$7');
oldText = oldText.replace(/({{[ ]*(cite (web|news))[^}]+?)((archivdate|archive-date)[ ]*=[ ]*)(May) (\d{2}), ([0-9]{4})/ig, '$1$4$8-05-$7');
oldText = oldText.replace(/({{[ ]*(cite (web|news))[^}]+?)((archivdate|archive-date)[ ]*=[ ]*)(\d) (May) ([0-9]{4})/ig, '$1$4$8-05-0$6');
oldText = oldText.replace(/({{[ ]*(cite (web|news))[^}]+?)((archivdate|archive-date)[ ]*=[ ]*)(\d{2}) (May) ([0-9]{4})/ig, '$1$4$8-05-$6');

// Juni
oldText = oldText.replace(/({{[ ]*(cite (web|news))[^}]+?)((archivdate|archive-date)[ ]*=[ ]*)(June|Jun) ([0-9]{4})/ig, '$1$4$6-06-00');
oldText = oldText.replace(/({{[ ]*(cite (web|news))[^}]+?)((archivdate|archive-date)[ ]*=[ ]*)(June|Jun) (\d), ([0-9]{4})/ig, '$1$4$8-06-0$7');
oldText = oldText.replace(/({{[ ]*(cite (web|news))[^}]+?)((archivdate|archive-date)[ ]*=[ ]*)(June|Jun) (\d{2}), ([0-9]{4})/ig, '$1$4$8-06-$7');
oldText = oldText.replace(/({{[ ]*(cite (web|news))[^}]+?)((archivdate|archive-date)[ ]*=[ ]*)(\d) (June|Jun) ([0-9]{4})/ig, '$1$4$8-06-0$6');
oldText = oldText.replace(/({{[ ]*(cite (web|news))[^}]+?)((archivdate|archive-date)[ ]*=[ ]*)(\d{2}) (June|Jun) ([0-9]{4})/ig, '$1$4$8-06-$6');

// Juli
oldText = oldText.replace(/({{[ ]*(cite (web|news))[^}]+?)((archivdate|archive-date)[ ]*=[ ]*)(July|Jul) ([0-9]{4})/ig, '$1$4$6-07-00');
oldText = oldText.replace(/({{[ ]*(cite (web|news))[^}]+?)((archivdate|archive-date)[ ]*=[ ]*)(July|Jul) (\d), ([0-9]{4})/ig, '$1$4$8-07-0$7');
oldText = oldText.replace(/({{[ ]*(cite (web|news))[^}]+?)((archivdate|archive-date)[ ]*=[ ]*)(July|Jul) (\d{2}), ([0-9]{4})/ig, '$1$4$8-07-$7');
oldText = oldText.replace(/({{[ ]*(cite (web|news))[^}]+?)((archivdate|archive-date)[ ]*=[ ]*)(\d) (July|Jul) ([0-9]{4})/ig, '$1$4$8-07-0$6');
oldText = oldText.replace(/({{[ ]*(cite (web|news))[^}]+?)((archivdate|archive-date)[ ]*=[ ]*)(\d{2}) (July|Jul) ([0-9]{4})/ig, '$1$4$8-07-$6');

// August
oldText = oldText.replace(/({{[ ]*(cite (web|news))[^}]+?)((archivdate|archive-date)[ ]*=[ ]*)(August|Aug) ([0-9]{4})/ig, '$1$4$6-08-00');
oldText = oldText.replace(/({{[ ]*(cite (web|news))[^}]+?)((archivdate|archive-date)[ ]*=[ ]*)(August|Aug) (\d), ([0-9]{4})/ig, '$1$4$8-08-0$7');
oldText = oldText.replace(/({{[ ]*(cite (web|news))[^}]+?)((archivdate|archive-date)[ ]*=[ ]*)(August|Aug) (\d{2}), ([0-9]{4})/ig, '$1$4$8-08-$7');
oldText = oldText.replace(/({{[ ]*(cite (web|news))[^}]+?)((archivdate|archive-date)[ ]*=[ ]*)(\d) (August|Aug) ([0-9]{4})/ig, '$1$4$8-08-0$6');
oldText = oldText.replace(/({{[ ]*(cite (web|news))[^}]+?)((archivdate|archive-date)[ ]*=[ ]*)(\d{2}) (August|Aug) ([0-9]{4})/ig, '$1$4$8-08-$6');

// September
oldText = oldText.replace(/({{[ ]*(cite (web|news))[^}]+?)((archivdate|archive-date)[ ]*=[ ]*)(September|Sep) ([0-9]{4})/ig, '$1$4$6-09-00');
oldText = oldText.replace(/({{[ ]*(cite (web|news))[^}]+?)((archivdate|archive-date)[ ]*=[ ]*)(September|Sep) (\d), ([0-9]{4})/ig, '$1$4$8-09-0$7');
oldText = oldText.replace(/({{[ ]*(cite (web|news))[^}]+?)((archivdate|archive-date)[ ]*=[ ]*)(September|Sep) (\d{2}), ([0-9]{4})/ig, '$1$4$8-09-$7');
oldText = oldText.replace(/({{[ ]*(cite (web|news))[^}]+?)((archivdate|archive-date)[ ]*=[ ]*)(\d) (September|Sep) ([0-9]{4})/ig, '$1$4$8-09-0$6');
oldText = oldText.replace(/({{[ ]*(cite (web|news))[^}]+?)((archivdate|archive-date)[ ]*=[ ]*)(\d{2}) (September|Sep) ([0-9]{4})/ig, '$1$4$8-09-$6');

// Oktober
oldText = oldText.replace(/({{[ ]*(cite (web|news))[^}]+?)((archivdate|archive-date)[ ]*=[ ]*)(October|Oct) ([0-9]{4})/ig, '$1$4$6-10-00');
oldText = oldText.replace(/({{[ ]*(cite (web|news))[^}]+?)((archivdate|archive-date)[ ]*=[ ]*)(October|Oct) (\d), ([0-9]{4})/ig, '$1$4$8-10-0$7');
oldText = oldText.replace(/({{[ ]*(cite (web|news))[^}]+?)((archivdate|archive-date)[ ]*=[ ]*)(October|Oct) (\d{2}), ([0-9]{4})/ig, '$1$4$8-10-$7');
oldText = oldText.replace(/({{[ ]*(cite (web|news))[^}]+?)((archivdate|archive-date)[ ]*=[ ]*)(\d) (October|Oct) ([0-9]{4})/ig, '$1$4$8-10-0$6');
oldText = oldText.replace(/({{[ ]*(cite (web|news))[^}]+?)((archivdate|archive-date)[ ]*=[ ]*)(\d{2}) (October|Oct) ([0-9]{4})/ig, '$1$4$8-10-$6');

// November
oldText = oldText.replace(/({{[ ]*(cite (web|news))[^}]+?)((archivdate|archive-date)[ ]*=[ ]*)(November|Nov) ([0-9]{4})/ig, '$1$4$6-11-00');
oldText = oldText.replace(/({{[ ]*(cite (web|news))[^}]+?)((archivdate|archive-date)[ ]*=[ ]*)(November|Nov) (\d), ([0-9]{4})/ig, '$1$4$8-11-0$7');
oldText = oldText.replace(/({{[ ]*(cite (web|news))[^}]+?)((archivdate|archive-date)[ ]*=[ ]*)(November|Nov) (\d{2}), ([0-9]{4})/ig, '$1$4$8-11-$7');
oldText = oldText.replace(/({{[ ]*(cite (web|news))[^}]+?)((archivdate|archive-date)[ ]*=[ ]*)(\d) (November|Nov) ([0-9]{4})/ig, '$1$4$8-11-0$6');
oldText = oldText.replace(/({{[ ]*(cite (web|news))[^}]+?)((archivdate|archive-date)[ ]*=[ ]*)(\d{2}) (November|Nov) ([0-9]{4})/ig, '$1$4$8-11-$6');

// Dezember
oldText = oldText.replace(/({{[ ]*(cite (web|news))[^}]+?)((archivdate|archive-date)[ ]*=[ ]*)(December|Dec) ([0-9]{4})/ig, '$1$4$6-12-00');
oldText = oldText.replace(/({{[ ]*(cite (web|news))[^}]+?)((archivdate|archive-date)[ ]*=[ ]*)(December|Dec) (\d), ([0-9]{4})/ig, '$1$4$8-12-0$7');
oldText = oldText.replace(/({{[ ]*(cite (web|news))[^}]+?)((archivdate|archive-date)[ ]*=[ ]*)(December|Dec) (\d{2}), ([0-9]{4})/ig, '$1$4$8-12-$7');
oldText = oldText.replace(/({{[ ]*(cite (web|news))[^}]+?)((archivdate|archive-date)[ ]*=[ ]*)(\d) (December|Dec) ([0-9]{4})/ig, '$1$4$8-12-0$6');
oldText = oldText.replace(/({{[ ]*(cite (web|news))[^}]+?)((archivdate|archive-date)[ ]*=[ ]*)(\d{2}) (December|Dec) ([0-9]{4})/ig, '$1$4$8-12-$6');
// Parameter umbenennen, "url=" vorne
oldText = oldText.replace(/({{[ ]*(cite (web|news)|citation)[^}]+?url[ ]*=[^}]+?)title([ ]*=[^}]*?}})/ig, '$1titel$4');
oldText = oldText.replace(/({{[ ]*(cite (web|news)|citation)[^}]+?url[ ]*=[^}]+?)accessdate([ ]*=[^}]*?}})/ig, '$1zugriff$4');
oldText = oldText.replace(/({{[ ]*(cite (web|news)|citation)[^}]+?url[ ]*=[^}]+?)archiveurl([ ]*=[^}]*?}})/ig, '$1archiv-url$4');
oldText = oldText.replace(/({{[ ]*(cite (web|news)|citation)[^}]+?url[ ]*=[^}]+?)archivedate([ ]*=[^}]*?}})/ig, '$1archiv-datum$4');
oldText = oldText.replace(/({{[ ]*(cite (web|news)|citation)[^}]+?url[ ]*=[^}]+?)date([ ]*=[^}]*?}})/ig, '$1datum$4');
oldText = oldText.replace(/({{[ ]*(cite (web|news)|citation)[^}]+?url[ ]*=[^}]+?)(work|website|newspaper)([ ]*=[^}]*?}})/ig, '$1werk$5');
oldText = oldText.replace(/({{[ ]*(cite (web|news)|citation)[^}]+?url[ ]*=[^}]+?)author([ =]*)([^|,}]+)([ ]*),([ ]*)([^| ]+)([^}]*?}})/ig, '$1autor$4$8 $5$9');
oldText = oldText.replace(/({{[ ]*(cite (web|news)|citation)[^}]+?url[ ]*=[^}]+?)author([ ]*=[^}]*?}})/ig, '$1autor$4');
oldText = oldText.replace(/({{[ ]*(cite (web|news)|citation)[^}]+?url[ ]*=[^}]+?)publisher([ ]*=[^}]*?}})/ig, '$1hrsg$4');
oldText = oldText.replace(/({{[ ]*(cite (web|news)|citation)[^}]+?url[ ]*=[^}]+?)(page|pages)([ ]*=[^}]*?}})/ig, '$1seiten$5');
oldText = oldText.replace(/({{[ ]*(cite (web|news)|citation)[^}]+?url[ ]*=[^}]+?)language([ ]*=[^}]*?}})/ig, '$1sprache$4');
oldText = oldText.replace(/({{[ ]*(cite (web|news)|citation)[^}]+?url[ ]*=[^}]+?)quote([ ]*=[^}]*?}})/ig, '$1zitat$4');
oldText = oldText.replace(/({{[ ]*(cite (web|news)|citation)[^}]+?url[ ]*=[^}]+?)(first|first1)[= ]+([^|]+?)[|\n ]+(last|last1)[= ]+([^|]+?)[ ]*?(\|[^}]+?}})/ig, '$1autor=$5 $7$8');
oldText = oldText.replace(/({{[ ]*(cite (web|news)|citation)[^}]+?url[ ]*=[^}]+?)(last|last1)[ =]+([^|]+?)[| ]+(first|first1)[ =]+([^|]+?)[\n ]*?(\|[^}]+?}})/ig, '$1autor=$7 $5$8');

// Parameter umbenennen, "url=" hinten
oldText = oldText.replace(/({{[ ]*(cite (web|news)|citation)[^}]+?)title([ ]*=[^}]+?url[ ]*=[^}]*?}})/ig, '$1titel$4');
oldText = oldText.replace(/({{[ ]*(cite (web|news)|citation)[^}]+?)accessdate([ ]*=[^}]+?url[ ]*=[^}]*?}})/ig, '$1zugriff$4');
oldText = oldText.replace(/({{[ ]*(cite (web|news)|citation)[^}]+?)archiveurl([ ]*=[^}]+?url[ ]*=[^}]*?}})/ig, '$1archiv-url$4');
oldText = oldText.replace(/({{[ ]*(cite (web|news)|citation)[^}]+?)archivedate([ ]*=[^}]+?url[ ]*=[^}]*?}})/ig, '$1archiv-datum$4');
oldText = oldText.replace(/({{[ ]*(cite (web|news)|citation)[^}]+?)date([ ]*=[^}]+?url[ ]*=[^}]*?}})/ig, '$1datum$4');
oldText = oldText.replace(/({{[ ]*(cite (web|news)|citation)[^}]+?)(work|website|newspaper)([ ]*=[^}]+?url[ ]*=[^}]*?}})/ig, '$1werk$5');
oldText = oldText.replace(/({{[ ]*(cite (web|news)|citation)[^}]+?)author([ =]*)([^|,}]+)([ ]*),([ ]*)([^| ]+)([^}]+?url[ ]*=[^}]*?}})/ig, '$1autor$4$8 $5$9');
oldText = oldText.replace(/({{[ ]*(cite (web|news)|citation)[^}]+?)author([ ]*=[^}]+?url[ ]*=[^}]*?}})/ig, '$1autor$4');
oldText = oldText.replace(/({{[ ]*(cite (web|news)|citation)[^}]+?)publisher([ ]*=[^}]+?url[ ]*=[^}]*?}})/ig, '$1hrsg$4');
oldText = oldText.replace(/({{[ ]*(cite (web|news)|citation)[^}]+?)(page|pages)([ ]*=[^}]+?url[ ]*=[^}]*?}})/ig, '$1seiten$5');
oldText = oldText.replace(/({{[ ]*(cite (web|news)|citation)[^}]+?)language([ ]*=[^}]+?url[ ]*=[^}]*?}})/ig, '$1sprache$4');
oldText = oldText.replace(/({{[ ]*(cite (web|news)|citation)[^}]+?)quote([ ]*=[^}]+?url[ ]*=[^}]*?}})/ig, '$1zitat$4');
oldText = oldText.replace(/({{[ ]*(cite (web|news)|citation)[^}]+?)(first|first1)[= ]+([^|]+?)[|\n ]+(last|last1)[= ]+([^|]+?)[ ]*?(\|[^}]*?url[ ]*=[^}]*?}})/ig, '$1autor=$5 $7$8');
oldText = oldText.replace(/({{[ ]*(cite (web|news)|citation)[^}]+?)(last|last1)[ =]+([^|]+?)[| ]+(first|first1)[ =]+([^|]+?)[\n ]*?(\|[^}]*?url[ ]*=[^}]*?}})/ig, '$1autor=$7 $5$8');

// Vorlage umbenennen
oldText = oldText.replace(/({{[ ]*)(cite (web|news)|citation)([^}]+?url[ ]*=[^}]*?}})/ig, '$1Internetquelle$4');

// Leere Einträge löschen
oldText = oldText.replace(/({{[ ]*Internetquelle[^}]+?)[a-z]+[ ]*=[\n ]*\|([^}]+?}})/g, '$1$2');
oldText = oldText.replace(/({{[ ]*Internetquelle[^}]+?)[a-z]+[ ]*=[\n ]*\|([^}]+?}})/g, '$1$2');
oldText = oldText.replace(/({{[ ]*Internetquelle[^}]+?)[a-z]+[ ]*=[\n ]*\|([^}]+?}})/g, '$1$2');
oldText = oldText.replace(/({{[ ]*Internetquelle[^}]+?)[a-z]+[ ]*=[\n ]*\|([^}]+?}})/g, '$1$2');
oldText = oldText.replace(/({{[ ]*Internetquelle[^}]+?)[a-z]+[ ]*=[\n ]*\|([^}]+?}})/g, '$1$2');
oldText = oldText.replace(/({{[ ]*Internetquelle[^}]+?)[a-z]+[ ]*=[\n ]*\|([^}]+?}})/g, '$1$2');
oldText = oldText.replace(/({{[ ]*Internetquelle[^}]+?)[a-z]+[ ]*=[\n ]*\|([^}]+?}})/g, '$1$2');
oldText = oldText.replace(/({{[ ]*Internetquelle[^}]+?)[a-z]+[ ]*=[\n ]*\|([^}]+?}})/g, '$1$2');
oldText = oldText.replace(/({{[ ]*Internetquelle[^}]+?)[a-z]+[ ]*=[\n ]*\|([^}]+?}})/g, '$1$2');
oldText = oldText.replace(/({{[ ]*Internetquelle[^}]+?)[a-z]+[ ]*=[\n ]*\|([^}]+?}})/g, '$1$2');
oldText = oldText.replace(/({{[ ]*Internetquelle[^}]+?)\|[a-z]+[ ]*=[\n ]*(}})/g, '$1$2');

// Nicht unterstützte Einträge löschen
oldText = oldText.replace(/({{[ ]*Internetquelle[^}]+?)location[ ]*=[^}]+?\|([^}]+?}})/g, '$1$2');
oldText = oldText.replace(/({{[ ]*Internetquelle[^}]+?)location[ ]*=[^}]+?(}})/g, '$1$2');

//Endcheck
oldText = oldText.replace(/({{[ ]*Internetquelle[^}]+?)\|[ ]*(}})/g, '$1$2');
return {text: oldText};