:%s@.*@\="digital_root(". submatch(0) . ")=".((submatch(0) % 9) ? submatch(0)%9 : 9)@ ZZ
Note that non-ascii characters in the above source code will be escaped (such as \x9f).
download
return to the top page