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.OptionsAssembly: GroupDocs.Search (in GroupDocs.Search.dll) Version: 21.8.1
Syntaxpublic static ISearchDocumentFilter CreateFilePathRegularExpression(
string pattern
)
Public Shared Function CreateFilePathRegularExpression (
pattern As String
) As ISearchDocumentFilter
public:
static ISearchDocumentFilter^ CreateFilePathRegularExpression(
String^ pattern
)
static member CreateFilePathRegularExpression :
pattern : string -> ISearchDocumentFilter
Parameters
- pattern
- Type: SystemString
The regular expression pattern.
Return Value
Type:
ISearchDocumentFilterA search document filter by file name.
See Also