Thank all for your kind help!
It was not difficult to make a textfactory doing this job. 

I did have to enter the formula above many times in the textfactory with 
different values to get the desired result. 
The first part of the formula remained the same as in the series above, the 
second part I had to repeat much more often. Each line with 10 different 
values in the second part. 
That way the lines of different lengths are neatly divided into two lines.

OM

Op dinsdag 6 juni 2023 om 15:46:00 UTC+2 schreef Rich Siegel:

> 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 "[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/6890296b-6dc4-4a0f-965d-1c163feebae5n%40googlegroups.com.

Reply via email to