this worked for me: /^HISTOGRAM OF\s+?\*\s+(\w+)\s+/