Saved search storage location

2024-01-26 Thread Allen Watson
I have a Mac user account that is so corrupt that it takes five or six minutes just to log in with only the Finder open. I have set up a second user account that works fine. I want to retrieve my saved searches from the corrupt system. I know how to find them in the BBEdit/Setup menu, and I

Re: Is this possible to GREP?

2024-01-26 Thread Benjamin Irwin
There are a couple of other options for search and replace. SED and AWK are designed specifically for that purpose. The following is an example taken from "tldr"; a great resource for helpful linux documentation and examples. *sed* Edit text in a scriptable manner. See also: awk, ed. More

Re: Is this possible to GREP?

2024-01-26 Thread Neil Faiman
There may be a way of doing this with a single operation. Usually, when approaching a problem like this, I just find a find-and-replace that will do the job if applied repeatedly some smallish number of times. So, we’ll start out with a pattern that will leave the “hash-mark lowercase-string

Re: Is this possible to GREP?

2024-01-26 Thread Victoria Bampton
Oh my goodness, you are amazing! That worked perfectly. That worked perfectly and has saved me days of work. Thank you so much! On Friday, January 26, 2024 at 3:25:46 PM UTC jj wrote: > Hi Victoria, > > Here is a possible two pass solution: > > First: > > A Case sensitive Find / Replace : >

Re: Is this possible to GREP?

2024-01-26 Thread jj
Hi Victoria, Here is a possible two pass solution: First: A Case sensitive Find / Replace : (?<=href=")([^#]+)#[^_]+_([A-Z][a-z]+)([A-Z][a-z]+)?([A-Z][a-z]+)?([A-Z][a-z]+)?([A-Z][a-z]+)?([A-Z][a-z]+)?([A-Z][a-z]+)?([A-Z][a-z]+)?([A-Z][a-z]+)?([A-Z][a-z]+)?(?=") Replacement:

Re: Is this possible to GREP?

2024-01-26 Thread MediaMouth
The grep experts here are always impressive.  If they can't get it done with regex, a JS solution can.On Jan 26, 2024, at 05:49, Victoria Bampton wrote:There's clearly lots of experience here... can anyone tell me if this is possible to do a find/replace GREP?Links like those following are

Is this possible to GREP?

2024-01-26 Thread Victoria Bampton
There's clearly lots of experience here... can anyone tell me if this is possible to do a find/replace GREP? Links like those following are spread throughout a series of documents. I need to change the bit after the hash (e.g., #sub_InstallingLightroom) to remove the chunk before the