This is similar to the Numeric test. Use BI for the format. Use EQ to test for alphanumerics or NE to test for non-alphanumerics. Instead of NUM, use one of the following corresponding to the set of alphanumeric characters you need:
UC: Uppercase characters (A-Z)
LC: Lowercase characters (a-z)
MC: Mixed case characters (A-Z, a-z)
UN: Uppercase and numeric characters (A-Z, 0-9)
LN: Lowercase and numeric characters (a-z, 0-9)
MN: Mixed case and numeric characters (A-Z, a-z, 0-9)
Here is an INCLUDE statement that only includes records which have uppercase or numeric characters in positions 11 to 17:
If every position from 11 to 17 in a record has A-Z, a-z or 0-9, that record is included. If any position from 11 to 17 in a record does not have A-Z,a-z or 0-9, that record is not included. So a record with ‘RAJESH1’ in 11 to 17 would be included, whereas records with ‘R,ajesh’ would not be included.
This MN option can be used to check for non alphanumeric characters (Special Characters) in the whole record or at a specified position.