Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
this is a test /test123?
I want to get the data between / and ? I tried to do the regular expression ($content) = $item1 =~ m/ \/(.*) \? /; but doesn't seem to be working. What am I doing wrong? Thanks a lot
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: How do i get string between
by ikegami (Patriarch) on May 03, 2010 at 21:15 UTC | |
|
Re: How do i get string between
by kennethk (Abbot) on May 03, 2010 at 21:04 UTC | |
|
Re: How do i get string between
by toolic (Bishop) on May 04, 2010 at 00:14 UTC | |
by GrandFather (Saint) on May 04, 2010 at 05:09 UTC | |
|
Re: How do i get string between
by kiruthika.bkite (Scribe) on May 04, 2010 at 12:54 UTC | |
|
Re: How do i get string between
by metaperl (Curate) on May 03, 2010 at 21:00 UTC | |
|
Re: How do i get string between
by metaperl (Curate) on May 03, 2010 at 21:04 UTC |