Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Regex required

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

Help for this page

Select Code to Download


  1. or download this
    $var = 'Please enter Certificate Signing Request(CSR): Press <Enter> w
    +hen done
    MIICxjCCAa4CAQAwgYAxFzAVBgNVBAMTDnRlc3QtY2VydC11c2VyMQswCQYDVQQG
    EwJVUzELMAkGA1UECBMCTkMxDDAKBgNVBAcTA1JUUDEPMA0GA1UEChMGTkVUQVBQ
    ...
    Gxqf/KABolKX1sZ6SSC16LkuR7OoJ7YBUMhrp+wjf/zjWCI=
    
    -----END CERTIFICATE-----'
    
  2. or download this
    if ($var =~ /Signed(.*)\s+(.*)\s+(.*)/) {
            print"$3\n";
    }
    

Log In?
Username:
Password:

What's my password?
Create A New User
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? | Other CB clients
Other Users?
Others lurking in the Monastery: (4)
As of 2015-07-05 03:08 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (60 votes), past polls