How do you check if a textbox has any numbers in it?

Hello!
Im making a imput for image ID’s, and i nead to check if it has any numbers in it, so it wont cause any problems.
but i cant find a solution.

Could you help me?
Thanks!

Try doing something like this to get any numbers from the textBox, if string.match(textBox.ContentText, '%d') then

2 Likes

Thanks! im surprised, that its that simple.

1 Like