Hi, Jeffrey!

On 30 Oct 2016, at 19:15, Jeffrey Jones wrote:

Is it always the case that these three lines occur together? I.e., is "... (Viewed)" always followed by "Video ...", always followed by "Save ..."?

Yes - with the only exception of the last line.


If these three items don't appear independently, then the entire operation can be accomplished in one Find & Replace All step:

Find : \(Viewed\)\nVideo (.*)\nSave .*$
(Grep)
Replace: [empty]

That worked! Thanks!


This works on your example text, except the "Save" line is missing from the last video. If the three changes appear together, than separate Find & Replace All steps should work

Yes.

--
This is the BBEdit Talk public discussion group. If you have a feature request or would like to report a problem, please email
"supp...@barebones.com" rather than posting to the group.
Follow @bbedit on Twitter: <http://www.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 post to this group, send email to bbedit@googlegroups.com.
Visit this group at https://groups.google.com/group/bbedit.

Reply via email to