SearchQueryCreateRegexQuery Method (String, RegexOptions)
Creates a regular expression query.

Namespace: GroupDocs.Search
Assembly: GroupDocs.Search (in GroupDocs.Search.dll) Version: 19.5.1
Syntax
public static SearchQuery CreateRegexQuery(
	string pattern,
	RegexOptions options
)

Parameters

pattern
Type: SystemString
The regular expression pattern to match.
options
Type: System.Text.RegularExpressionsRegexOptions
A bitwise combination of the enumeration values that modify the regular expression. This value must contain IgnoreCase flag.

Return Value

Type: SearchQuery
A regular expression query.
See Also