Hey, Chris!

Wow! Thanks!

I must learn to think like this - the regex is still not easy for me! :-/

But from the absence of the answers to my question I must conclude that I 
didn’t oversee any keystrokes / hidden menus and that there is actually no way 
to select two or more text-areas in a file with BBEdit, right?

Thanks again!


Regards,
Vlad


> Am 25.11.2014 um 02:17 schrieb Christopher Stone <[email protected]>:
> 
> On Nov 24, 2014, at 01:13, Vlad Ghitulescu <[email protected] 
> <mailto:[email protected]>> wrote:
>> Sorry, my fault: I forgot to tell that the „Chapter 1“ / „Chapter 2“ titles 
>> are almost similar to the tutorial-titles!  They look like this:
>> 
>> 1.0 Introduction - 8 lessons - 15m 23s
>> 1.1 title_of_tutorial_1.1 - 2m 3s
> 
> ______________________________________________________________________
> 
> Hey Vlad,
> 
> That's not too hard to work with.
> 
> Assumes all chapters start with n…n.0:
> 
> Find:
> ^([[:blank:]]*\d+\.[1-9]\d*[\w[:blank:][:punct:]]+\d+m[[:blank:]]*\d+s)
> 
> Replace
> \1.md4
> 
> Assumes only chapters contain the text 'n…n lessons':
> 
> Find:
> ^((?i)[[:blank:]]*\d+\.\d+(?>(?!\d+ lessons).)+\d+m[[:blank:]]*\d+s+$)
> 
> Replace
> \1.md4
> 
> --
> Best Regards,
> Chris
> 
> 
> -- 
> 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 
> <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] 
> <mailto:[email protected]>.
> To post to this group, send email to [email protected] 
> <mailto:[email protected]>.

-- 
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].

Reply via email to