Yeah, ⌘ ⌥ ⌃ G will search and select all. 
Then copy and paste. 

Also you can ⌘ ⌥ F to bring up quick search which is a little less cumbersome 
than the full text view. 

I’d like to recommend this post, it’s good stuff. 

http://www.leancrew.com/all-this/2014/12/bbedit-finding/


--Chris

> On Aug 14, 2021, at 1:48 PM, Patrick Woolsey <[email protected]> wrote:
> 
> The Find command is normally the easiest way to locate any text which 
> matches a particular  Grep pattern, and you can then just copy the matched (& 
> selected) text. (Please bear in mind that you are never _obligated_ to 
> perform a replace after a search.)
> 
> In case the above isn't what you're trying to accomplish, then it would be 
> helpful if you could provide an actual example, e.g. a pair of "before" and 
> "after" documents
> 
> 
> Regards,
> 
> Patrick Woolsey
> ==
> Bare Bones Software, Inc.             <https://www.barebones.com/>
> 
> 
> 
>> On Aug 13, 2021, at 22:30, e2o <[email protected]> wrote:
>> 
>> Howdy! Is there an easy way to copy a chunk of text matched with a regular 
>> expression to the clipboard only? No search/replace.
>> 
>> I have an expression that selects everything at the beginning of a document 
>> up to but not including the first blank line. I need to copy this text and 
>> copy it to the bottom of the document. I can't use Process Lines Including 
>> because it uses \A to match beginning of document, which doesn't fly there.
>> 
>> So my expression is:
>> \A.*\r(^\S.*\r)+
>> 
>> How do I just copy the matched text to clipboard? This needs to be 
>> scriptable with Keyboard Maestro - so standard menu items and keyboard 
>> shortcuts would be nice, but I might be able to muddle through AppleScript 
>> or similar.
>> 
>> Thanks!
>> 
>> - eric
> 
> -- 
> 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/E633B534-D1B9-4649-80BD-CB02804D6E16%40barebones.com.

-- 
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/49543210-4BD3-4A71-855E-C4D35CF13EE8%40rustydogink.com.

Reply via email to