←Select platform

LinkPatterns Property

Summary

Regular expressions to use when parsing links from text.

Syntax
C#
VB
C++
Java
public static IList<Regex> LinkPatterns { get; } 
Public Shared ReadOnly Property LinkPatterns() As System.Collections.Generic.IList(Of System.Text.RegularExpressions.Regex) 
   Get 
public:  
   static property System::Collections::Generic::IList<System::Text::RegularExpressions::Regex^>^ LinkPatterns 
   { 
      System::Collections::Generic::IList<System::Text::RegularExpressions::Regex^>^ get() 
   } 
public static List<Pattern> getLinkPatterns() 

Property Value

A list of the regular expressions to use when parsing links from text. The default value is a list containing two regular expressions: The first to parse links such as http, https, ftp, file, mailto, etc. and the second to parse email addresses.

Remarks

You can add or modify this list to control how links are parsed from text. Call ResetLinkPatterns to set the list back to the default values.

Refer to AutoParseLinks for more information.

Example

For an example, refer to GetLinks

Requirements
Target Platforms
Help Version 21.0.2021.7.2
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Document Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.