How do I remove numbers from string?

The title kinda says it.

I’ve tried this but it keeps the numbers I want them to tbe removed from the script.

local button = string.match(buttonName, "%d+")
local function removeNumbers(x: string): string
	return ({x:gsub("%d", "")})[1]
end

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.