I want to split the string in python.
Sample string:
Hi this is ACT I. SCENE 1 and SCENE 2 and this is ACT II. SCENE 1 and SCENE 2 and more
into the following list:
['Hi this is', 'ACT I. SCENE 1', 'and', 'SCENE2', 'and this is', 'ACT II. SCENE 1',
'and' , 'SCENE 2', 'and more']
Can someone help me build the regex? The one that I have built is:
(ACT [A-Z]+.\sSCENE\s[0-9]+)]?(.*)(SCENE [0-9]+)
But this is not working properly.