Regular Expressions 101

Sponsors

Library entries

0
java

Business Address | WI | Trademark | USA

s
Submitted by anonymous - 13 hours ago
0
java

carbon

test1
Submitted by anonymous - 14 hours ago
1
javascript

YouTubeVideoUrl

YouTubeVideoUrl
Submitted by EdwardKonovalov - 14 hours ago
0
golang

log timestamp

extract time stamp from log entry
Submitted by anonymous - 15 hours ago
0
javascript

SRD TEST Internal

Test guts to gather Stat and amount
Submitted by anonymous - 2 days ago
0
pcre2

Storyblok Assets

Match paths for a.storyblok.com
Submitted by anonymous - 3 days ago
0
javascript

Storyblok Img2

Parse img2.storyblok.com URLs
Submitted by anonymous - 3 days ago
0
javascript

Shashi test

Shashi
Submitted by anonymous - 3 days ago
0
pcre2

Init code

Init code
Submitted by anonymous - 3 days ago
0
dotnet

Match IPv4 Valid

expression to capture valid IP
Submitted by anonymous - 3 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