local p = {} function p.extract(frame) s = frame.args[1] year = "%d%d%d%d" return string.sub(s, string.find(s, year)) end return p