[[string.gsub (Lua)|string.gsub]]を使う。 ```lua string.gsub("180702", "(%d%d)(%d%d%d%d)", "20%1年入社 第%2人目") -- 2018年入社 第0702人 ```