From: Hugh Sasse Date: 2006-11-16T03:03:54+09:00 Subject: Re: Regexp with Ruby On Thu, 16 Nov 2006, Ajay Vijey wrote: > Hallo @ all, > > I have to replace in a File the image tags with an other! > > File Data: > ------------- [trimmed] > > Will scan this image tag: > -------------------------- > alt="Personal und Organisation" border="0" width="84" height="64"> > > > I already tested this with the follow code: > ----------------------------------------------- > ...scan(//m) > and with > ...scan(//m) > > But the result was always: > ---------------------------- > alt="Personal und Organisation" border="0" width="84" > height="64"> > href="../personal/po.htm"> > > > I hope someone can help me! Thanks a lot! I'd agree with your choice of regexp. I think we need to see more of the surrounding code to fix this. > Kind Regards > Ajay Hugh