Trigger using a regular expression
The following trigger parameter causes ACIF to search for the string "PAGE 1". The search will start in column 1 and continue until the end of each record.
CPGID=850 TRIGGER1=*,*,REGEX='PAGE 1',(TYPE=GROUP)
The following trigger parameter causes ACIF to search for a string containing four uppercase letters followed by three digits. The regular expression must match the text starting in column 10.
CPGID=819 TRIGGER2=*,10,REGEX='[A-Z]{4}[0-9]{3}',(TYPE=FLOAT)
The following trigger parameter causes ACIF to search in columns 15 through 18 for a string containing the letter "P" followed by three lowercase letters. The TYPE is GROUP by default.
CPGID=500 TRIGGER1=*,15:18,REGEX=X'D74A8160A95AC0F3D0' /* P[a-z]{3} */