Loading...

Supported Wildcards in Regular Expressions

For subclient policy, the following wildcard characters can be automatically detected in regular expression when backing up the data:

Wildcards

Description

Example

*

 

Any number of any characters.

*.doc -  any file name with the extension ".doc" (e.g., status.doc, mission.doc)

a*.dll - any file name that begins with "a" and has the extension .dll (e.g., alsvc.dll, advdcc.dll)

?

Any one character.

access? - any file name that begins with- "access" followed by any one character (e.g., access1, access5)

?:\*.doc - any drive name that contains ".doc" files (e.g., c:\*.doc, e:\*.doc)

**

Any directory level.

C:\**\move.cpp - the file named move.cpp located at any directory level under the c: drive. (e.g., c:\info\com\move.cpp)

C:\sys*\** - all directories starting with sys. (e.g., all files and folder under c:\system or c:\sys1)

The following wildcards will be treated as literal for subclient policy:

Wildcards

Description

Example

[ ]

Any range of characters.

[ei]nsure.doc - any file name that ends with "nsure.doc" and begins either "e" or "i". (e.g., ensure.doc, insure.doc)

[a-m].doc - any file name that ends with ".doc" and begins with the letters "a" through "m" inclusive.

[! ]

The negation of a range of characters.

[!ei]nsure.doc - any file name that ends with "nsure.doc", but does not begin with "e" or "i". (e.g., unsure.doc)

Last modified: 8/30/2018 12:32:56 PM