You can use find() and mid() expressions:
Set position1 to find(text, "Chapter1")
Set position2 to find(text, "Chapter2")
Set resultText to mid(text, position1+len("Chapter1"), (position2-position1))
Of course you should add various checks in case any of these chapters don't exist, trim spaces and line breaks etc.