Making an Index Field Optional During Validation

Applies to: Ephesoft Transact and above

How do you create a regular expression to allow blank values as an option during validation?

Regular Expression

Combine your regular expression with the regular expression for a blank (empty/null) space using the pipe symbol ( | ).

This regex validates blank spaces:



The following regex will accept “yes”, “no” or empty space as a validation rule.