add underline to last word found