Thanks, Paul! I need to learn this regular expression stuff... looks
>useful for repetitive edits, like spice library files.
Once you're up a bit on the regex curve, you might want to pick up a copy of Perl as the tool to use on that kind of task. Very good at parsing/matching/etc. operations. Free versions available; an oft-used Windows release is from ActiveState: