Won't the function "Process Lines Containing..." from the Text menu do this for 
you if you check "Use grep" and "Copy to new document"?

On Jan 10, 2010, at 6:27 AM, Ptarmigan wrote:

> I have inserted the word CODE at intervals in a file
> 
> I have grepped the file using : CODE(?s).*?(?=CODE)
> 
> This grep selects chunks of the file as required. Great.
> 
> However, I am not sure how to get each chunk into a separate .txt file
> via BBEdit's text processing tools. I don't wanna do this manually.
> 
> Suggestions ?
> 
> Ptarmigan
> -- 
> You received this message because you are subscribed to the 
> "BBEdit Talk" discussion group on Google Groups.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]
> For more options, visit this group at
> http://groups.google.com/group/bbedit?hl=en
> If you have a feature request or would like to report a problem, 
> please email "[email protected]" rather than posting to the group.

-- 
You received this message because you are subscribed to the 
"BBEdit Talk" discussion group on Google Groups.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/bbedit?hl=en
If you have a feature request or would like to report a problem, 
please email "[email protected]" rather than posting to the group.

Reply via email to