I’m pretty sure this is beyond what BBEdit can do for me by itself, and into 
the realm of scripting, but BBEdit never ceases to amaze.

I have a large file. I’d like to find instances of a particular regular 
expression in the file, and then split it into multiple files, where each new 
file should
Start with one of the occurrences of the regular expression
Continue up to but not including the next occurrence of the regular expression
Have a name created by doing a grep susbitution on the regular expression.

Any suggestions?

Thanks,
Neil Faiman

p.s. I know that I could script this easily enough, but the total number of 
times I’m going to have to do this is small enough that any effort invested in 
scripting would outweigh the time it’s going to take me to do it manually.

-- 
This is the BBEdit Talk public discussion group. If you have a feature request 
or need technical support, please email "supp...@barebones.com" 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 bbedit+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/bbedit/AAA2F7B3-6EF1-486B-AA54-5A112ABEB068%40faiman.org.

Reply via email to