Finds and returns entry of specified regular expression along with formatting.
Namespace: Spire.DocAssembly: Spire.Doc (in Spire.Doc.dll) Version: 9.6.1.0 (9.6.1.3020)
Syntax
| C# | Visual Basic | Visual C++ | F# |
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
- Regex
regex pattern
Return Value
TextSelectionFound text selection