For example, I am trying to extract the date, Filling/Order, Causes of action and Cohen notes from a case that looks like this in plane text:
Filing / Order
SEC v. Beaxy Digital, Ltd.
Filing Date Court Docket No.
03/29/2023 N.D. Ill. 1:23-cv-1962
Causes of Action / Relevant Authority
Securities Act §§ 5(a), 5(c), 17(a); Exchange Act §§ 5, 10(b) and Rule 10b-5, 15(a), 17(a
Morrison Cohen Notes
SEC charges Beaxy Digital and its founder for conducting an unregistered private sale of BXY, and
operating the Beaxy Platform without registration.
Let's say I want to extract "Securities Act §§ 5(a), 5(c), 17(a); Exchange Act §§ 5, 10(b) and Rule 10b-5, 15(a), 17(a"
I am thinking about having a pattern that indicates any chunk of texts between "Causes of Action / Relevant Authority"
and "Morrison Cohen Notes"
but I don't know how to go about doing this
For the date, this is what I did, I am trying to do a similar approach by editing the regex in pattern but I don't know how to make it work for this problem What I did for date extraction