I was trying to get some matches: as below
“191760250”, “This is a test”, “2013-04-07T17:19:06.953”, “131466368”,
“191760250”, “Does it wotk”, “2013-04-07T17:19:17.303”, “131466368”
accordingly made Rubular: (>([\w\s]|[\d\-\:.])+<)
but not working.
please help me.
It’s best to parse xml with an xml parser. The try Nokogiri:
http://rubygems.org/gems/nokogiri
-Josh
I would try this modified expression:
(([\w\s]|[\d-:.])+?)<
Sent from my iPhone
On Mon, Apr 8, 2013 at 11:48 PM, Josh C. [email protected]
wrote:
It’s best to parse xml with an xml parser. The try Nokogiri:
nokogiri | RubyGems.org | your community gem host
What XML? This looks more like a case for CSV.
Cheers
robert
On Tue, Apr 9, 2013 at 9:35 AM, Robert K.
[email protected] wrote:
On Mon, Apr 8, 2013 at 11:48 PM, Josh C. [email protected] wrote:
It’s best to parse xml with an xml parser. The try Nokogiri:
nokogiri | RubyGems.org | your community gem host
What XML? This looks more like a case for CSV.
If you check the rubular link the OP posted, the sample string is an
XML.
Jesus.