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')/cThanks again. Enjoy, Dudley
I see you caught my error where I put in \0 which should have been submatch(0) :-) 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.