I need a way to slice everything after an email appears and before certain text appears.
Example formats are shown here:
[email protected]:0:3rw3e:weofkew:StackOverflow=
[email protected]:19.2132.1:StackOverflow=
Format needed would be:
[email protected]:StackOverflow= (followded by everything else on the line).
So essentially slicing after an email appears, and before StackOverflow= appears.
Notes: All emails are unique, it's not literally [email protected]