I need validation of the format for a new account entered by users. The format should be xxx_xxxxxx where X is numeric. For example 123_456789.
I found Format function in DRM list of functions.
Format(Format,ParamType,ValueToFormat)
I did not know how to specify format I need users to enter. I found an example on one of the Java sites and wrote the following code for my validation
IF(Format("[0-9]{3}_[0-9]{6}$",integer,PropValue(Core.Abbrev)),False,True)
Unfortunately, it returns true if format is correct or not.
Any help would be appreciated.