Fritzek wrote:
> short question how to use regexp the right way
> given is a="a[b]c"
> I nedd b="a c"

"a[b]c".gsub(/\[.*?\]/, " ")

HTH,
Sebastian
-- 
Jabber: sepp2k / jabber.org
ICQ: 205544826