Click or drag to resize

Document FindPattern Method (Regex)

Finds and returns entry of specified regular expression along with formatting.

Namespace: Spire.Doc
Assembly: Spire.Doc (in Spire.Doc.dll) Version: 13.2.3.0 (13.2.3.3046)
Syntax
public TextSelection FindPattern(
	Regex pattern
)

Parameters

pattern
Type: System.Text.RegularExpressions Regex
regex pattern

Return Value

Type: TextSelection
Found text selection

Implements

IDocument FindPattern(Regex)
See Also