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 |
In Section
Seekers of Perl Wisdom