It is amazing, I was thinking that I needed something to help clean up the ugly vbulletin source code. It took about 20 seconds to stumble upon this and I feel like I hit the jackpot. I even thought I was going to have to modify the regexp to get rid of the blank lines but you have already done that also
I am having one problem though, for me it is getting rid of all the blank lines but not the comments. I have both options enabled in the admincp (General Options) and I am not sure what else it could be. At first I thought it was because I was running vbcmps but then I realized that the script was removing the blank lines.
If you have any ideas it would be greatly appreciated. Once again, great product, thanks a bunch.