Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re^4: Extract sequence of UC words?

by BrowserUk (Pope)
on Aug 18, 2008 at 17:13 UTC ( #704990=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    print "'$1'" while $data =~ m/(\b[A-Z][A-Z\s]+[A-Z]\b)/g;;
    'THIS
    IS A SENTENCE'
    'SEQUENCE OF UPPER WORDS'
    
  2. or download this
    print "'$1'" while $data =~ m/(\b[A-Z][A-Z\s]+[^ ]\b)/g;;
    'THIS
    IS A SENTENCE'
    'SEQUENCE OF UPPER WORDS'
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (5)
As of 2014-12-25 16:10 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (160 votes), past polls