Re: Find and replace multiple RegEx search expressions

2014-03-18 Thread Peter Otten
Jignesh Sutar wrote: > Hi, > > I'm trying to delete contents of a .txt log file, matching on multiple > re.sub criteria but not sure how to achieve this. > > Below is an illustration of what I am trying to achieve (of course in this > example I can combine the 3 re.sub into a single re expressio

Find and replace multiple RegEx search expressions

2014-03-18 Thread Jignesh Sutar
Hi, I'm trying to delete contents of a .txt log file, matching on multiple re.sub criteria but not sure how to achieve this. Below is an illustration of what I am trying to achieve (of course in this example I can combine the 3 re.sub into a single re expression but my actual code will have a doz