123ABC - Extra First Letter - AB1ABC - Missing Numbers - AABC - Extra Numbers - A1234ABC - Missing Last Letter - A1AB - Extra Last Letter - A1ABCD == Valid Suffix == ABC123A ABC12A ABC1A -- Invalid Suffix -- - Missing First Letter - AB1A AB123A - Extra First Letter ABCD1A ABCD123A - Missing Numbers - ABCA - Extra Numbers - ABC1234A - Missing Last Letter = Dateless e.g.Validating a phone number using regular expression is tricky because the phone number can be written in many formats and can have extensions also.Having opened this cookbook, you are probably eager to inject some of the ungainly strings of parentheses and question marks you find in its chapters right into your code.If you are ready to plug and play, be our guest: the practical regular expressions are listed and described in Chapters 4 through 9.Firstly, since you probably already have a control on your form for this, I want to point out that we won't be using the Rules engine in Nintex Forms.Although that is very powerful, there's no way in those rules to do this type of validation. Notice that I've set the "Use a regular expression" option to Yes.
It could be a simple rule like the field needs to have data in it.The following is how regular expressions can be used [abc] – find any character in the brackets a, b or c [a-z] – find the range of characters within brackets i.e. Can also be used with numbers [0-9] [^xyz] – find any character other than the ones specified in the brackets i.e.x,y and z (word) – find the “word” specified in the round brackets [abc|xyz] – find either the characters a,b,c or x,y,z We’ll start first with validating a textbox that accepts only numbers.Google Forms makes it relatively easy to add such advanced date validation rules to individual fields through Regular Expressions (or regex or regexp).Think of them as search patterns and every character entered in a form field is matched against that pattern – the form can only be submitted if the patter and the user-input matches. Say your Google form expects the user to enter their year of birth.