In next few posts, I'll be posting my solution for the Winter Scripting Games of 2008. Some I'll add comments. Some I won't :) I found using Regex patterns far easier than the brute force method used by the Scripting Guys. See the code below: $number