Community Patterns

Community Library Entry

0

Regular Expression
Created·2020-01-29 02:36
Flavor·PCRE (Legacy)

/
(.*\d*\:)?(\w+\.+\w..$)
/
gm
Open regex in editor

Description

Returns only the last two levels of a domain name from an IIS website SSL certificate. Useful for grouping multiple certificates by Top-Level-Domain (TLD)

Submitted by anonymous