Xceed Words for .NET v5.0 Documentation
Xceed.Document.NET Assembly / Xceed.Document.NET Namespace / Paragraph Class / FindAllByPattern Method
The pattern to search for.
The regular expression options to use.


In This Topic
    FindAllByPattern Method
    In This Topic
    Finds all unique instances of the provided Regex pattern.
    Syntax
    'Declaration
     
    Public Function FindAllByPattern( _
       ByVal str As String, _
       ByVal options As RegexOptions _
    ) As List(Of String)
    'Usage
     
    Dim instance As Paragraph
    Dim str As String
    Dim options As RegexOptions
    Dim value As List(Of String)
     
    value = instance.FindAllByPattern(str, options)
    public List<string> FindAllByPattern( 
       string str,
       RegexOptions options
    )

    Parameters

    str
    The pattern to search for.
    options
    The regular expression options to use.

    Return Value

    A list of all the unique string values that were found.
    Requirements

    Target Platforms: Windows 11, Windows 10, Windows 7, Windows, 11, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also