On Tue, 14 Dec 2004 23:16:43 -0700, Michael McGarry <[EMAIL PROTECTED]> wrote: > Hi, > > I am horrible with Regular Expressions, can anyone recommend a book on it? > > Also I am trying to parse the following string to extract the number > after load average. > > ".... load average: 0.04, 0.02, 0.01" > > how can I extract this number with RE or otherwise?
Lot's of good solutions for the problem. However, you might want to check out Jeffrey Friedl's book Mastering Regular Expressions, published by O'Reilly. -- Stand Fast, tjg. -- http://mail.python.org/mailman/listinfo/python-list