SearchDocumentFilterCreateFilePathRegularExpression 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.1
Syntax
public static ISearchDocumentFilter CreateFilePathRegularExpression(
	string pattern
)

Parameters

pattern
Type: SystemString
The regular expression pattern.

Return Value

Type: ISearchDocumentFilter
A search document filter by file name.
See Also