From: Dave Jones Date: 2013-04-09T14:57:15+09:00 Subject: Re: regex confusion --Apple-Mail-942C0A47-70BA-4272-BCAB-4F49FD66FAA0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable I would try this modified expression: >(([\w\s]|[\d\-\:.])+?)< Sent from my iPhone On Apr 8, 2013, at 2:48 PM, Josh Cheek wrote: > It's best to parse xml with an xml parser. The try Nokogiri: http://rubyge= ms.org/gems/nokogiri >=20 > -Josh >=20 >=20 >=20 > On Mon, Apr 8, 2013 at 4:44 PM, Love U Ruby wrote: >> I was trying to get some matches: as below >>=20 >> "191760250", "This is a test", "2013-04-07T17:19:06.953", "131466368", >> "191760250", "Does it wotk", "2013-04-07T17:19:17.303", "131466368" >>=20 >> accordingly made http://rubular.com/r/EiV1uFySaN >>=20 >> but not working. >>=20 >> please help me. >>=20 >> -- >> Posted via http://www.ruby-forum.com/. >=20 --Apple-Mail-942C0A47-70BA-4272-BCAB-4F49FD66FAA0 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 7bit
I would try this modified expression:

>(([\w\s]|[\d\-\:.])+?)<


Sent from my iPhone

On Apr 8, 2013, at 2:48 PM, Josh Cheek <josh.cheek@gmail.com> wrote:

It's best to parse xml with an xml parser. The try Nokogiri: http://rubygems.org/gems/nokogiri

-Josh



On Mon, Apr 8, 2013 at 4:44 PM, Love U Ruby <lists@ruby-forum.com> wrote:
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 http://rubular.com/r/EiV1uFySaN

but not working.

please help me.

--
Posted via http://www.ruby-forum.com/.


--Apple-Mail-942C0A47-70BA-4272-BCAB-4F49FD66FAA0--