I'm creating an app that removes new lines and time stamps from a huge multi-line String given. I managed to remove the new lines by using string.replacingOccurences(of:_, by:_)
, but couldn't finc a way to get rid of the time stamp. Here's a snippet of a sample string:
6:08phones and laptops connected to the free
6:10public Wi-Fi network due to this she
6:12could hack email accounts online bank
6:14accounts and other passwords however she
6:17had no deep knowledge of computers or
6:19hacking so how did she do this
6:21well she simply watched an 11 minute
6:23YouTube video on how to do it she was
6:25later hired by a VPN website which tests
6:27security that's one way to land a job
6:30and that just about wraps up this video
6:32check out the poll in the top right
6:34corner
6:35you guys can vote for the most
6:36surprising hacker but as always thanks
6:38for watching check out some more videos
6:40on screen right now leave a like if you
6:42enjoyed and if you haven't already what
6:44are you waiting for subscribe