From: Joshua Muheim Date: 2009-10-11T19:16:59+09:00 Subject: Re: Detect any "..." string in a string? Daniel Danopia wrote: > On Oct 7, 5:19�pm, Greg Donald wrote: >> > or... >> Here's how I do it in PHP, if you wanna rework it into Ruby: >> >> � $strTag .= "document.write('$arrEmail[1]\">');\r"; >> Greg Donaldhttp://destiney.com/ > You could also use a library such as hpricot or nokogiri to search and > replace all the tags. > > And you should have \r\n, not \r, if you are writing HTML. Thank you guys. Nokogiri looks really useful, I will take a look at it. :-) -- Posted via http://www.ruby-forum.com/.