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

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
Replies are listed 'Best First'.
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?

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

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (9)
As of 2015-11-26 12:47 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (698 votes), past polls