Jump to content

Prevent numeric characters expression in do while loop


Kwala

Recommended Posts

Hi, I have a do while loop within a for loop, as well as a regular expression in a variable. The regEx is to prevent any numeric characters, if so continue to loop hence the do while loop until the user enters in a non numeric character; but I can't get it to work ?

 

 

Link to comment
Share on other sites

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
×
×
  • Create New...