View Single Post
Old 09-17-2010, 06:07 PM   #2748
TonytheBookworm
Addict
TonytheBookworm is on a distinguished road
 
TonytheBookworm's Avatar
 
Posts: 264
Karma: 62
Join Date: May 2010
Device: kindle 2, kindle 3, Kindle fire

can someone help me with this regexp please? I suck at regex
Trying to find (Today's Nuze)
i tried the following with no success
Code:
preprocess_regexps = [
                          (re.compile(r'(Today)(.).*?(\\s+)(Nuze), re.DOTALL|re.IGNORECASE),lambda match: '')]
thanks

Last edited by TonytheBookworm; 09-17-2010 at 06:14 PM. Reason: figured it out
TonytheBookworm is offline