Could you paste a representative sample of the original?

On Sun, 13 Nov 2022 at 00:24, Michael Kocher <[email protected]> wrote:

> The problem with Extract is that it makes a new file, and I have a
> thousands of files. Is there a way to do it within the original file?
>
> On Saturday, November 12, 2022 at 3:23:13 PM UTC-6 [email protected]
> wrote:
>
>> On 12 Nov 2022, at 16:09, Michael Kocher wrote:
>>
>> > I'm trying to use a multi-file search and replace using grep. I'm still
>> > pretty new to grep and BBEdit and could use some help.
>> >
>> > I can isolate the text I want to keep using this:
>> >
>> > <div class="page-content(?s).*?<div data-analytics-region="prev-next"
>> >
>> > Unfortunately, that's the content I want to keep. Is there a way to
>> find
>> > everything *except* what that line pulls up and delete it?
>>
>> The "Extract" button might do the job for you here. (Leave the "Replace"
>> field blank.)
>>
>> R.
>>
> --
> This is the BBEdit Talk public discussion group. If you have a feature
> request or need technical support, please email "[email protected]"
> rather than posting here. Follow @bbedit on Twitter: <
> https://twitter.com/bbedit>
> ---
> You received this message because you are subscribed to the Google Groups
> "BBEdit Talk" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/bbedit/d73aa5e5-11e5-4b3f-9bc8-30de68e2ccd2n%40googlegroups.com
> <https://groups.google.com/d/msgid/bbedit/d73aa5e5-11e5-4b3f-9bc8-30de68e2ccd2n%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>
-- 
Sent from MetroMail

-- 
This is the BBEdit Talk public discussion group. If you have a feature request 
or need technical support, please email "[email protected]" rather than 
posting here. Follow @bbedit on Twitter: <https://twitter.com/bbedit>
--- 
You received this message because you are subscribed to the Google Groups 
"BBEdit Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/bbedit/CAJ2R9pi%2BJqw4fxD%2Bu0G_QRLEjPxGikd2rQB8x9uF_umn0apNeQ%40mail.gmail.com.

Reply via email to