On 3/29/07, A.J.Mechelynck <[EMAIL PROTECTED]> wrote:
Dudley Fox wrote:
[...]
> This is the expression which worked for me in case anyone else
> want to do a similar search.
> :%s/\[.\{-}\]/\=substitute(submatch(0),'\s','','g')/c
>
> Thanks again.
>
> Enjoy,
> Dudley
I see you caught my error where I put in \0 which should have been submatch(0)
:-)
Yeah. I used your search expression, and Tim's replace expression.
Works like a charm. :)
Enjoy,
Dudley
Best regards,
Tony.
--
hundred-and-one symptoms of being an internet addict:
148. You find it easier to dial-up the National Weather Service
Weather/your_town/now.html than to simply look out the window.