Hello,
I would like to create new page via Regex-function search.
Basically I would like to know how to create new page in book via Python:- with custom file name
- with custom content
The purpose of why I need it is that I want to capture footnotes and move them into special page. I can post whole code later.

Thank you for your insights!