in reply to How to find XML tags using regular expression

Tags? Are you using the right terminology? You asked for the following output:

my @tags = ( '<text>', '<Find>', '</text>', '<find>', );

I'm guessing that's not what you want, but I'd rather not guess what you want wrong, so I'll wait for clarification.

PS — That's not valid XML.

Replies are listed 'Best First'.
Re^2: How to find XML tags using regular expression
by satishchandra (Initiate) on Feb 17, 2011 at 19:05 UTC
    hi, you are correct i want all my tags to be in one array so how can i do that with pattern matching?