extract string from commits widget