Re: Find and Delete Lines Containing More Than x Number of Characters

2024-04-04 Thread Bill Kochman
Thank you very much, Kevin. Very helpful. I tried something like that earlier, but it didn’t work. I guess I just didn’t get the syntax quite right. Kind Regards,  -- This is the BBEdit Talk public discussion group. If you have a feature request or need technical support, please email

Re: Find and Delete Lines Containing More Than x Number of Characters

2024-04-04 Thread Kevin Shay
1) Text > Process Lines Containing... 2) Check the Grep checkbox 3) Use the following pattern to target all lines with 60 or more characters: .{60,} The "Delete matched lines" checkbox should let you do the deletion. Use "do not contain" for less instead of more characters. Cheers, Kevin On

Find and Delete Lines Containing More Than x Number of Characters

2024-04-04 Thread Bill Kochman
Hello Everyone, The title says it all. I need to delete all lines containing MORE than x number of characters. How would I implement this? Or how about if I want to delete lines containing LESS than x number of characters? Thank you! Kind regards, Bill Kochman -- This is the BBEdit Talk