thanks guys...I'm making progress but what I have been slowly leading up 
to is searching using a variable then replacing it with a variable.

acl = "now is the time"
x = time
y = TEST

acl.gsub(/x/,y)

How do I get gsub to use the value of x rather "x" itself in my match?

thanks

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