> I need something like search for any "[b]" and substitute with a
> blank.

b = a.gsub(/\[b\]/,' ')
-- 
Posted via http://www.ruby-forum.com/.