Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re: pick a word contaning reg-ex

by sundialsvc4 (Abbot)
on Dec 04, 2012 at 16:57 UTC ( #1007118=note: print w/ replies, xml ) Need Help??


in reply to pick a word contaning reg-ex

There are several things that you should, yourself, search for answers to.   First, how to write a regular expression that searches for “one-or-more Word characters followed by an exclamation mark.”   Then, the meaning of the idea “greedy,” and how to specify it.   Finally, how to perform more than one regular-expression match (in a loop ...) within a single string.

The information is there e.g. in perldoc perlre.   If patiently read from stem to stern.


Comment on Re: pick a word contaning reg-ex
Re^2: pick a word contaning reg-ex
by keesturam (Initiate) on Dec 05, 2012 at 01:12 UTC
    Thanks..!! This was really helpful.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (6)
As of 2015-07-04 02:49 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 (57 votes), past polls