DocumentFilterCreateFilePathRegularExpression Method (String)
Creates a filter for skipping documents that are not match a regular expression. The regular expression is applied to the full path of a document.

Namespace: GroupDocs.Search.Options
Assembly: GroupDocs.Search (in GroupDocs.Search.dll) Version: 21.8
Syntax
public static DocumentFilter CreateFilePathRegularExpression(
	string pattern
)

Parameters

pattern
Type: SystemString
The regular expression pattern.

Return Value

Type: DocumentFilter
A document filter by file name.
See Also