Hello!

Is there a way to automatically create new BBEdit documents for each
chunk of text that is selected by a Find command? I have a document
with a ton of multi-line chunks, with the format:

*first line of chunk 1
body of chunk 1
body of chunk 1
body of chunk 1
*first line of chunk 2
body of chunk 2
body of chunk 2
body of chunk 2
*first line of chunk 3
body of chunk 3
etc.

I need to create a new text document out of each chunk. I already have
a grep pattern that matches the chunks: ^\*(?s)[^\*]*   , but how can
I automate the creation of new text documents for each found chunk?
The Find All Search Result windows shows that all of my chunks are
correctly found.

Any ideas?

thanks,

- eric

-- 
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.
Follow @bbedit on Twitter: <http://www.twitter.com/bbedit>

Reply via email to