in reply to Regex required
perl -nle '/-{5}BEGIN\sCERTIFICATE-{5}(.*?)-{5}END\sCERTIFICATE-{5}/s and print $1'
-sauoq
"My two cents aren't worth a dime.";
"My two cents aren't worth a dime.";
In Section
Seekers of Perl Wisdom
in reply to Regex required