Hi there,
So I'm making a Color3 input system but I don't want people inputting something that isn't a number value up to 3 characters long, of course I could have a filter checking if there is anything other than the numbers 0-9 and it's less than 4 characters, but I want it to be instantaneously checking and removing characters that are not in line with the filter I set up, this is probably simple but since I'm not experienced with many string related functions I don't know how I'd do it
I would give a code sample but I have little to no knowledge on most functions related to strings except a few basic ones.

4 comments
Sry forgot to remove the print statement
sry for the bold text idk why it is happening
I've figured out a method to determine the length but I'm not sure how I'd delete the characters so I've opened another question to figure that out
no use the string.gsub("HiLol12!","[A-Za-z%p]",""