Module:YearStrip

From WikiConference North America
Revision as of 08:04, 30 January 2015 by James Hare (talk | contribs) (Working)
Jump to navigation Jump to search

Documentation for this module may be created at Module:YearStrip/doc

local p = { }

function p.YearStrip(pagename)
	local output = string.gsub(pagename.args, "[0-9][0-9][0-9][0-9]%/", nil)
	return output
end

return p