Re: Removing Text Between Two items (Inclusive) across Multiple Lines

2015-09-14 Thread J Hall
wow, Thanks guys! Owe you big time! This is incredibly helpful! I have big chucks of stuff at the begging and end of plugging this in to my Automator Script just wiped it all out, just like I wanted to. This is going to save SO much time! J. On Thursday, 10 September 2015 15:20:16 UTC-5,

Re: Removing Text Between Two items (Inclusive) across Multiple Lines

2015-09-10 Thread Fletcher Sandbeck
The problem is that .* generally doesn't match across lines, but you can replace it with a pattern like [\s\S]* to get a multi-line pattern. [\s\S]*? That should match the header no matter how many lines long it is. [fletcher] > On Sep 10, 2015, at 9:37 AM, J Hall wrote:

Removing Text Between Two items (Inclusive) across Multiple Lines

2015-09-10 Thread J Hall
Help! Ok, so I'm working processing some HTML that has a lot of garbage in it that I need to clean out. I'm working on an automator script because there are going to be several hundred of these files that I have to go through. So I'm trying to use the Find/Replace option in Automator to clean

Re: Removing Text Between Two items (Inclusive) across Multiple Lines

2015-09-10 Thread Christopher Stone
On Sep 10, 2015, at 11:37, J Hall wrote: > I have header and footer information that I need to kill. > > The header starts with > > > and ends 150 lines later with > __ Hey There, As has been mentioned