Jump to content

Help guiSetProperty


Recommended Posts

Posted

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.

  • Moderators
Posted
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.

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...