(date: year) in writer field

I’m switching from textarea to writer. Is there a way to create something like this from kirbytext in (date: year) in writer? For the classic © 2023 Companyname footer line.

Idea:
site/plugins/writertext.php

<?

Kirby::plugin('mrflix/writertext', [
	'fieldMethods' => [
		'wt' => function($field){
			$text = $field->value();

			$text = str_replace('(date: year)', date('Y'), $text);

			return $text;
		}
	]
]);

Use in template:

<?= $block->text()->wt() ?>

Next up: email encoding.