Learning vi/vim and Linux and learning use of :reg and :let. My question is how to substitute and replace (edit) text of a register? I've searched online and in vi/vim help and made some attempts without expected results...
Ex:
Register a:
"1. This is a sentence. This is another sentence. This is yet another sentence."
:.s/This/That/g - replaces all occurrences of "This" with "That" for the entire line when text is in the file.
How to substitute "This" with "That" when in register a?
Thank you in advance for suggestions or answers...
Martin