Yes, if you're willing to write a plugin to do it...
You're trying to lift information from one part of the book and use it as inspiration to modify another part of the book.
Although you could fit it into a regex function, but that would be a very complex regex function I'd think.
Theoretically you could rewrite many/most plugins as a regex function, if you really wanted to, but it wouldn't make anything easier.
|