Jump to content

Module:Strip to numbers

Permanently protected module
From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by SMcCandlish (talk | contribs) at 20:55, 17 July 2015 (maybe it works this way). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

function p(theString)
	local onlyNumerals
	onlyNumerals = (string.gsub(theString, "%D", ""))
	return onlyNumerals
end

return p