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

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.

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 all is quiet...

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (6)
As of 2018-03-24 09:14 GMT
Find Nodes?
    Voting Booth?
    When I think of a mole I think of:

    Results (297 votes). Check out past polls.