mecrazycoder has asked for the wisdom of the Perl Monks concerning the following question:
Hi Monks,
I am having a line like
. Now i want to write a regex to fetch a,a3,a2,a1 alone.How can i do that one. Regex i wrote was something like<xyz>a</xyz><xyz>a3</xyz><xyz>a2</xyz><xyz>a1</xyz>
This doesn't seems to work.Please guide me$text=`/<xyz>(.*)<\/xyz>/
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: RegEx Doubt
by moritz (Cardinal) on Sep 30, 2009 at 11:45 UTC | |
Re: RegEx Doubt
by ccn (Vicar) on Sep 30, 2009 at 11:37 UTC | |
by mecrazycoder (Sexton) on Sep 30, 2009 at 12:10 UTC | |
Re: RegEx Doubt
by Bloodnok (Vicar) on Sep 30, 2009 at 11:45 UTC | |
by jakobi (Pilgrim) on Sep 30, 2009 at 12:22 UTC | |
by Bloodnok (Vicar) on Sep 30, 2009 at 12:28 UTC | |
by grizzley (Chaplain) on Oct 01, 2009 at 07:39 UTC | |
by dsheroh (Monsignor) on Oct 01, 2009 at 07:41 UTC |
Back to
Seekers of Perl Wisdom