Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re: How to find XML tags using regular expression

by ikegami (Patriarch)
on Feb 17, 2011 at 02:46 UTC ( [id://888614]=note: print w/replies, xml ) Need Help??


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?

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://888614]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others wandering the Monastery: (7)
As of 2024-04-23 16:04 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found