On 30 Oct 2016, at 20:06, Bee wrote:
In Vim 1, 2, 3, 4 all at once:
:%s/\s*(Viewed)\s*\n\s*Video\s*\(.*\)\n\s*Save.*/ \1/c
\{.*\) capture the duration
then in the replace part:
\1 replace with space and captured duration
In BBEdit 1, 2, 3, 4 all at once:
Find:\s*\(Viewed\)\s*\n\s*Video\s*(.*)\n\s*Save.*
Replace: \1
(.*) capture the duration
then in the replace part:
\1 replace with space and captured duration
This works - with the exception of the last line, due to the missing of
the "Saveā¦"-part.
See also my answer to Jeffrey in the same thread.
Nevertheless: Thanks again! :-)
--
This is the BBEdit Talk public discussion group. If you have a
feature request or would like to report a problem, please email
"[email protected]" 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 [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/bbedit.