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

Re^2: pick a word contaning reg-ex

by Lotus1 (Curate)
on Dec 04, 2012 at 19:54 UTC ( #1007148=note: print w/replies, xml ) Need Help??


in reply to Re: pick a word contaning reg-ex
in thread pick a word contaning reg-ex

#!/perl use warnings; use strict; while(<DATA>){ print map {"$_\n"} grep{/!/ and /[^!]/} split; } __DATA__ Mary had a little lamb! , whose fleece! was white! as snow. And everywhere! that Mary went, the lamb was sure! to go. oops!eedaisy ! ! !! HI!!IH

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1007148]
help
Chatterbox?
[Your Mother]: karlgoethebier++
[karlgoethebier]: Keith Richards was right: Rap Is for 'Tone-Deaf People'
[holli]: tone deaf? and that from a guy whos music is basically line noise

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (8)
As of 2017-12-13 18:36 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What programming language do you hate the most?




















    Results (373 votes). Check out past polls.

    Notices?