What do you want to achieve?
I’m trying to make sure my string only contains numbers or decimals.
What is the issue?
I keep on getting this error “malformed pattern (missing ‘[’)”.
What solutions have you tried so far?
I have tried looking everywhere on the dev hub and have found people having similar’ish problems but none of their fixes worked for me.
I am terrible with string functions.
btns.sizeY.Text = btns.sizeY.Text:gsub("%f", '')
Found this string method on the dev forum by the way because string methods are too hard for me.