Egor_Varaksa Posted August 11, 2023 Share Posted August 11, 2023 I use this guiSetProperty function(edit, "ValidationString", "^[A-Za-z_0-9]+$") but there is a problem when I want to delete the entire string, I can't delete the first character entered in the string. Link to comment
Moderators IIYAMA Posted August 11, 2023 Moderators Share Posted August 11, 2023 5 hours ago, Egor_Varaksa said: ^[A-Za-z_0-9]+$ And what if you do: ^[A-Za-z_0-9]+$|^$ | = OR ^ = START $ = END ^$ = allows empty string since there is nothing between the START and the END. Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now