I'm trying to export scenario names from a file that is not a txt file but I can see the names if I open it in the notepad. Here is a sample of the data in the file
O(1}(2019-12-4 12:12:43Szenario 7: OS - Haventransport - Copy has been deleted.>'1['2019-12-4 12:12:43Szenario 6: OS - Copy has been deleted.:&1S&2019-12-3 16:35:12Modifikation 10: has been created.N%/}%2019-12-3 11:21:2Szenario 8: AS - Haventransport - Copy has been created.N$/}$2019-12-3 11:21:2Szenario 7: OS - Haventransport - Copy has been created.="/["2019-12-3 11:21:2Szenario 5: AS - Copy has been created.N!/}!2019-12-3 11:20:7Szenario 5: AS - Haventransport - Copy has been deleted.9 1Q 2019-12-3 11:19:48Modifikation 9: has been created.O1}2019-12-3 11:17:59Szenario 5: AS - Haventransport - Copy has been created.:‑3Q‑2019-11-26 11:48:22Modifikation 8: has been created.91Q2019-11-26 9:26:42Modifikation 7: has been created.S12019-11-26 …..
The name is written after Szenario and end by (“has been created.”). for example the first one is Scenario 8 and the name is “AS - Haventransport – Copy”. I want to export the Scenario number and It’s name. since the file is not text and the sequence of characters is not consistent, I cannot use regexp or I can but I don’t know how.
I appreciate any suggestion or help.