Development finished
Improved regex for detecting last 3-chars word in lin