Pattern Matching Language

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.

My code:



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.

Fixed, takes a special kinda dumb to overpass that.
…damnit.