Leadtools.Documents Namespace > DocumentText Object : LinkPatterns Property |
get_linkPatterns();
Object.defineProperty('linkPatterns');
Type | Description |
---|---|
Object | A list of the regular expressions (RegExp ) 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. |
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.
For an example, refer to GetLinks