in reply to Re: Terms shortener :-)
in thread Terms shortener :-)

Or even

perl -pe 's/(?<=.)(.*)(?=.)/length$1/e'