martin kraegeloh wrote:
part of a good job is to choose the right tool.use perl for this kind of task. use vim to edit the perl script ;-) and search cpan before creating your own solutions!
Two problems with this approach:* Perl's regular expressions don't appear to be much more powerful than vim's. Perhaps not any more powerful any more. * Not everyone has or uses perl, especially Windoze users. Asking folks to learn perl isn't going to help -- few will bother.
Regards, Chip Campbell