On 6 Jun 2023, at 3:14, Otto Munters wrote:

> This formula does its job:
> Find: (?=(^.{120,130}))(^\n?.{61})
> Replace: \2\n
>
> I then repeat this formula with different values, from high to low.
> (?=(^.{120,130}))(^\n?.{61})
> (?=(^.{110,120}))(^\n?.{55})
> (?=(^.{100,110}))(^\n?.{50}
> )(?=(^.{90,100}))(^\n?.{45})
> (?=(^.{80,90}))(^\n?.{40})
> (?=(^.{70,80}))(^\n?.{35})
>
> Since there are many different files involved, it would be nice if this
> search and replace command could be done for the whole series at once. Is
> that even possible?

This is exactly the use case for a Text Factory. :-)

R.

-- 
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/87109B56-FFA5-482F-92ED-444E0550824D%40barebones.com.

Reply via email to