Gets a list of the regular expressions to use when parsing links from text.
Object.defineProperty(DocumentText, 'linkPatterns',
get: function()
)
static readonly linkPatterns: RegExp[];
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
Help Collections
Raster .NET | C API | C++ Class Library | HTML5 JavaScript
Document .NET | C API | C++ Class Library | HTML5 JavaScript
Medical .NET | C API | C++ Class Library | HTML5 JavaScript
Medical Web Viewer .NET
Multimedia
Direct Show .NET | C API | Filters
Media Foundation .NET | C API | Transforms
Supported Platforms
.NET, Java, Android, and iOS/macOS Assemblies
Imaging, Medical, and Document
C API/C++ Class Libraries
Imaging, Medical, and Document
HTML5 JavaScript Libraries
Imaging, Medical, and Document