| | |
| | Returns true if the text is not empty. And returns false if text is empty. |
| | Returns false if the length of text is less than given minimum length. |
| | Returns false if text length is greater than given length |
| | Returns true if text is a valid email address. |
| | Returns true if the text is any valid number |
| | Returns false if the text is number less than the given target number |
| | Returns false if the text is number less than or equal to the given target number |
| | Returns false if the text is number greater than the given target number |
| | Returns false if the text is number greater than or equal to the given target number |
| | Returns false if the text is a valid number and equal to the given target number |
| | Returns false if at least one or more characters are lower case |
| | Returns false if at least one or more characters are upper case |
| | Returns true if at least one or more characters are upper case |
| | Returns true if at least one or more characters are lower case |
| | Returns true if at least one or more characters are numbers |
| | Returns true if text starts with any number |
| | Returns false if text starts with any number |
| | Returns false if the text any number or digit. |
| | Returns false if text contains any alphabetic character |
| | Returns true if text contain no special characters |
AtleastOneSpecialCharacterRule
| atleastOneSpecialCharacters()
| Returns true if text contain at least one special characters |
| | Returns false if the text is not equal to the given text |
| | Returns true if the text is not equal to the given text |
| | Returns true if the text starts with the given text |
| | Returns true if the text ends with the given text |
| | Returns true if the text contains the given text |
| | Returns false if the text contains the given text |
| | Returns true if the text is valid credit card number. This supports Visa, Master Card, American Express, Diners Club, Discover, and JCB. |
| creditCardNumberWithSpaces()
| Returns true if the text is valid credit card number with spaces between 4 characters. This supports Visa, Master Card, American Express, Diners Club, Discover and JCB. |
| creditCardNumberWithDashes()
| Returns true if the text is valid credit card number with dashes between 4 characters. This supports Visa, Master Card, American Express, Diners Club, Discover, and JCB. |
| | Returns true if the text is a valid URL |
| | Returns true if the text matches passed RegEx pattern |