Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re: print only uppercase sentences

by jwkrahn (Monsignor)
on Aug 04, 2013 at 19:29 UTC ( #1047820=note: print w/ replies, xml ) Need Help??


in reply to print only uppercase sentences

$ echo " HOW ARE YOU =>FINE How are You=>FINE HOW ARE You=>FINE" | \ perl -ne'print if /\A[[:upper:][:^alpha:]]+\z/' HOW ARE YOU =>FINE


Comment on Re: print only uppercase sentences
Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1047820]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (7)
As of 2014-08-30 16:18 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (293 votes), past polls