input imageID term with pattern: "[^\\s]{1,7}"