CreateFilePathRegularExpression
Leave feedback
On this page
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.
public static ISearchDocumentFilter CreateFilePathRegularExpression(string pattern)
| Parameter | Type | Description |
|---|---|---|
| pattern | String | The regular expression pattern. |
A search document filter by file name.
- interface ISearchDocumentFilter
- class SearchDocumentFilter
- namespace GroupDocs.Search.Options
- assembly GroupDocs.Search
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.
public static ISearchDocumentFilter CreateFilePathRegularExpression(string pattern,
RegexOptions options)
| Parameter | Type | Description |
|---|---|---|
| pattern | String | The regular expression pattern. |
| options | RegexOptions | The regular expression options. |
A search document filter by file name.
- interface ISearchDocumentFilter
- class SearchDocumentFilter
- namespace GroupDocs.Search.Options
- assembly GroupDocs.Search
Was this page helpful?
Any additional feedback you'd like to share with us?
Please tell us how we can improve this page.
Thank you for your feedback!
We value your opinion. Your feedback will help us improve our documentation.