| 
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
Syntax
 
 
public TextSelection FindPattern(
	Regex pattern
)
 
Public Function FindPattern ( 
	pattern As Regex
) As TextSelection
 
public:
virtual TextSelection^ FindPattern(
	Regex^ pattern
) sealed
 
abstract FindPattern : 
pattern : Regex -> TextSelection 
override FindPattern : 
pattern : Regex -> TextSelection 
 
 
 
Parameters
 
- 
pattern
 
- 
 Type:
 
System.Text.RegularExpressions
Regex
 
 regex pattern
Return Value
 
 Type:
 
TextSelection
 
 Found text selection
 
Implements
 
IDocument
FindPattern(Regex)
 
 
 See Also
See Also