From: Jeremy Woertink Date: 2009-04-19T18:52:54+09:00 Subject: Re: String replacing help 7stud -- wrote: > Jeremy Woertink wrote: >> The goal of what I'm trying to do is take a string and insert pipes '|' >> before words that are *not* inside of . >> > > Yet you were not able to provide an example of the desired result? I'll try what you have, but here is what the desired result HEAD TITLE "test" BODY DIV |id "main-div" CSS-WITH-LINK |destination TO :index IMAGE |source RENDER |image @image I'm getting..... HEAD TITLE "test" BODY DIV |id "main-div" CSS-WITH-LINK |destination TO :index IMAGE |source RENDER |image @image -- Posted via http://www.ruby-forum.com/.