Re: Automator Search and Replace

2015-09-10 Thread J Hall
Ok, I am trying to do this as well. Except, Several of the items I want to remove, essentially replace with null So here are my Automator Action Steps: Get Specified Finder Items Open Files in BBEdit Get Contents of BBEdit Document (Set to Front Document) Search and Replace Search: Replace:

Re: Jumping-to-the-top behavior in scrollable "Find" and "Multi-File Search" boxes

2015-09-10 Thread Christopher Stone
On Sep 09, 2015, at 20:10, Michelle wrote: > I frequently use long GREPs as part of doing bulk search-and-replace commands > in thousands of files at once. BBEdit performs an incredibly frustrating and > inconvenient action every time I click anywhere outside of the search

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: Automator Search and Replace

2015-09-10 Thread Christopher Stone
On Sep 10, 2015, at 09:58, J Hall wrote: > So here are my Automator Action Steps: __ Hey There, Automator. Ugh... :) > It goes through, but even when I'm telling it to use grep, or even replace > all

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