I’m trying to use string.find’s pattern matching capabilities to have string.find find any special characters (/, , [, ], :, ;, %, @, !, etc.) and numbers.
I’m completely clueless on the pattern to find the special characters, I only know how to find the numbers.
The only way I’ve figured out doing this is by stating every single special character but I know there’s an easier way.
string.find(self:GetValue(), "[%d]") -- %d is sorting out the numbers, but I need to know what to add to sort out special characters
Any help would be appreciated.