Title: [Python] import re from urllib import urlopen totalBans = 0 #uniqueBans = 0 regex = Author: gando Pastebin link: http://pastebin.com/8sW5v8h5 First Edit: Monday 2nd of May 2011 04:36:40 PM CDT Last Edit: Monday 2nd of May 2011 04:36:40 PM CDT import re from urllib import urlopen   totalBans = 0 #uniqueBans = 0 regex = r'(\bSTEAM_[0-1]:[0-1]:(\d+)\b).\*)' # patlen = len((\bSTEAM_[0-1]:[0-1]:(\d+)\b).*) webpage = urlopen('http://74.63.239.234/banlist.txt')   def num_groups(regex) :     m = re.search(regex, webpage)     return re.compile(regex).groups     print m