Display sample input pattern for fields with regular expression formatters
a pattern attribute can be added to the format definition that is displayed during data entry. For example:
<format system="false" name="reg_num" class="edu.ku.brc.specify.datamodel.CollectionObject" fieldname="catalogNumber" default="false">
<field type="regex" size="15" minsize="11" value="MZB (\d{2}|\d{4})\-\d{4}(-[A-Z])?" pattern="MZB ####-####-A"/>
</format>
produces this:

Just so I'm clear, it also enforces the pattern i.e. MZB has to be MZB?
The regular expression is enforced. The pattern/mask whatever is just an example. MZB-81-1234, MZB 1981-1234, are allowed by the reg ex but don't match the pattern.
Note --- The pattern probably can't have more characters than the size specified in the format definition.
Use the database that Tim converted for Barcelona to test.
looks pretty
Works in a fresh database
Ups, didn't notice @tlammer has already tested this