From: Albert Schlef Date: 2009-12-27T12:37:19+09:00 Subject: Extracting some text from HTML It's a quick question (I hope). I'm using Nokogiri. I have the following HTML: ...
blah blha blah
blah blah blah
...some text I want to extract...
whatever
... How can I extract the text "...some text I want to extract..." ? My problem is that this text isn't wrapped in a DIV. It's a "text" node (not an "element" node). Anybody can figure out an xpath expression for it? -- Posted via http://www.ruby-forum.com/.