Regular Expressions 101

Sponsors

Library entries

0
pcre2

pythonize beautiful query

pythonize beautiful query
Submitted by anonymous - 7 hours ago
0
java

Business Address | WI | Trademark | USA

s
Submitted by anonymous - 2 days ago
0
java

carbon

test1
Submitted by anonymous - 2 days ago
0
golang

log timestamp

extract time stamp from log entry
Submitted by anonymous - 2 days ago
0
pcre2

Storyblok Assets

Match paths for a.storyblok.com
Submitted by anonymous - 5 days ago
0
pcre2

Init code

Init code
Submitted by anonymous - 5 days ago

Identify and group Certificate and Private Key from a combination PEM file

Vote

0

Regular Expression
pcre2

/
(?ms)(\s*((?<privatekey>-----BEGIN .* PRIVATE KEY-----.*?-----END .* PRIVATE KEY-----)|(?<certificate>-----BEGIN CERTIFICATE-----.*?-----END CERTIFICATE-----))\s*){2}
/
gm

Description

Loading markdown...
Submitted by @rbleattler - 2 months ago