First, you can save a couple of steps by using File -> Export as Text to create a file directly from the search results.

Next, though there is no option to omit the file & line number, you can easily strip that info via an appropriate grep search & replace, and, if you expect needing to do so often, you can either

a) save the search & replace pattern via the Saved Patterns (g) popup
    within the Find or Multi-File Search windows, or

 b) create a _text factory_ and add a suitable 'Replace All' action,
    then save that factory into the "Text Filters" subfolder of BBEdit's
app support folder and invoke it via Text -> Apply Text Filter ->
    [Your_Filter_Name].

Beyond that, may I ask what you plan to do with the saved search results, e.g. are they purely archival or how else do you wish to transform them?


Regards,

 Patrick Woolsey
==
Bare Bones Software, Inc.             <http://www.barebones.com/>



On 6/23/17 at 10:01 AM, [email protected] (Ton Machielsen) wrote:

Hi all!

Just started with BBEdit.

How do i export search results into a new document? Currently i do this:

Search
Copy Search results
Open new document
Paste

Problem here is that in front of every line i get the filename and line number where BBEdit found what i was searching for. I want to eliminate that.

Any ideas?

Thanks,

Ton.

--
This is the BBEdit Talk public discussion group. If you have a feature request or would like to report a problem, please email
"[email protected]" rather than posting to the group.
Follow @bbedit on Twitter: <http://www.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 post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/bbedit.

Reply via email to