Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Regex required

by vaibhav07 (Acolyte)
on May 03, 2012 at 17:57 UTC ( [id://968789]=perlquestion: print w/replies, xml ) Need Help??

vaibhav07 has asked for the wisdom of the Perl Monks concerning the following question:

This node falls below the community's threshold of quality. You may see it by logging in.

Replies are listed 'Best First'.
Re: Regex required
by bobf (Monsignor) on May 03, 2012 at 18:11 UTC
Re: Regex required
by sauoq (Abbot) on May 03, 2012 at 18:38 UTC
    perl -nle '/-{5}BEGIN\sCERTIFICATE-{5}(.*?)-{5}END\sCERTIFICATE-{5}/s and print $1'
    -sauoq
    "My two cents aren't worth a dime.";
Re: Regex required
by Anonymous Monk on May 04, 2012 at 07:51 UTC

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://968789]
Approved by toolic
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others examining the Monastery: (5)
As of 2024-04-25 14:32 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found