About DOS wildcard style expressions


Article ID: 181326


Updated On:


Mail Security for Microsoft Exchange




DOS wildcard style expressions ("*", ".", and "?") provide a convenient way to specify file names, similar to the way in which DOS wildcard characters are used. For example, match lists of type DOS wildcard are typically used with the Attachment Name Attribute to specify file names such as *.exe. In addition, a DOS wildcard expression lets you easily specify files without extensions.

Table: DOS wildcard expressions describes the DOS wildcard style expressions.

Table: DOS wildcard expressions

DOS wildcard expression

Equivalent regular expression




Zero or more of any character



Any one character except the period (.)



Literal period character



Does not contain a period, but can end with one

See About regular expressions