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 DocumentFilter CreateFilePathRegularExpression(string pattern)
| Parameter | Type | Description |
|---|---|---|
| pattern | String | The regular expression pattern. |
A document filter by file name.
- class DocumentFilter
- 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 DocumentFilter CreateFilePathRegularExpression(string pattern, RegexOptions options)
| Parameter | Type | Description |
|---|---|---|
| pattern | String | The regular expression pattern. |
| options | RegexOptions | The regular expression options. |
A document filter by file name.
- class DocumentFilter
- 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.