Regular Expressions 101

Community Library

Community Library Entry

1

Regular ExpressionOpen Workspace

/
(^-----BEGIN CERTIFICATE-----.*?-----END CERTIFICATE-----)$
/
msg

Description
Created·2015-08-23 20:13
Type·Match
Flavor·PCRE (Legacy)

Match all certificate in a chain from a OpenSSL s_client output. Need for this come from a script that should be able to verify the root CA of a URL.

Submitted by Evgeni Simeonov
Open Workspace