On 04/26/2021, at 12:53, Joel Braverman <[email protected] 
<mailto:[email protected]>> wrote:
> have a few thousand of these: 
> '199','627','1151','1249','1557','1558','1565','1689','1693','1711','1770','1780'
> 
> I want to break them up into subgroups as our SQL system chokes at > 4000 
> items in a query.


Hey Joel,

Find:

(?:'[^']+',){4000}

Replace:

&\n

Since you're dealing with pretty big chunks of data, I'd turn capturing off 
with (?: as above.

--
Best Regards,
Chris

-- 
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/5A42303B-DCD4-41A0-ACF9-59E32566E47A%40gmail.com.

Reply via email to