Adam Abc wrote in post #982724:
> Let's say I have this:
>
> to you the dog
> to that the dog
> was to the dog
> and you the dog
...

  yer a friggin poet, man - beautiful shite, really...  love it.  and 
the last post is your answer.  gsub is the trick.

  keep writing to you and that dog...

  -jk

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