whoops didn't think about that. I added i to the regex command so it's case insensitive and S to strip color codes and such.

code in previous post is updated


http://scripting.pball.win
My personal site with some scripts I've released.