This is the sample text file:
134781.ux002jupiter!Cat_server8.99123.9.0: Login ****** Vegas - csv111 - Versio 9.7 13.10.2016
141231.ux002jupiter!Cat_server8.99123.9.0: Logout ****** Madrid - asd124 - Versio 9.7 13.10.1992
123456.ux002jupiter!Cat_server8.99123.9.0: Login ****** Oslo - lks485 - Versio 9.7 13.10.1992
132541.ux002jupiter!Cat_server8.99123.9.0: Logout ****** Riyadh - xcd785 - Versio 9.7 13.10.1992
I want to read this sample file line by line and want to separate keywords from this and maybe store in an array.
The output should be equivalent to (exact formatting doesn't matter):
["134781", "csv111", "Vegas", "Login"]
["141231", "asd124 ", "Vegas", "Logout "]
["121456", "lks485 ", "Vegas", "Login"]
["132541", "xcd785 ", "Vegas", "Logout "]
Please help out.