sunil@perl has asked for the wisdom of the Perl Monks concerning the following question:
Hi all, I need to extract a part of a string. The strings are as below, /ba/mn/first one /ba/mn/second /ba/mn/third and so on. There are hundreds of such strings. I need to extract the below parts from the strings, first one second third and so on Can you monks please help me out in doing this as i am new to world of pattern matching and i am learning it. Thanks, Sunil.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Pattern Matching
by Corion (Patriarch) on Apr 16, 2014 at 07:55 UTC | |
|
Re: Pattern Matching
by kcott (Archbishop) on Apr 16, 2014 at 09:49 UTC | |
|
Re: Pattern Matching
by Anonymous Monk on Apr 16, 2014 at 07:57 UTC | |
|
Re: Pattern Matching
by AnomalousMonk (Archbishop) on Apr 16, 2014 at 13:56 UTC | |
|
Re: Pattern Matching
by Laurent_R (Canon) on Apr 16, 2014 at 09:37 UTC | |
|
Re: Pattern Matching
by Anonymous Monk on Apr 16, 2014 at 13:49 UTC |