Is there vi for windows? I saw unix when I searched. Thanks. I will look at it.
Another way is this, I just coded:
Yes, there is a version for windows... but personally, I wouldn't go learn it just for one command. For editors, it is somewhat of an acquired taste.
BTW, if you went through the trouble of writing a program, then aren't you done? ... Also, with regex, the program can be somewhat shorter.
Henry