Re: [Tutor] Newbie - regex question

2010-08-31 Thread Sam M
Thanks everyone for prompt response and explanation. Cheers! ___ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: http://mail.python.org/mailman/listinfo/tutor

[Tutor] Newbie - regex question

2010-08-30 Thread Sam M
Hi Guys, I'd like remove contents between tags that matches pattern "WORD1" as follows: Change "stuff word1-emai...@domain.com more stuff word1-emai...@domain.com still more stuff word2-emai...@domain.com stuff after WORD2 word1-emai...@domain.com" To "stuff more stuff still more s