I want to convert pdf to mobi, generating the content based on regexp. The format of a chapter header is as follows:
Catching the numbers by using simple regexp
works fine. Is it possible to catch the name of the chapter as well though? As I expected, using \n in regexp does not work...