Removing unwanted text in multiple lines
-
The lines i have are
0A english.iff 3158920 1794838
0A french.iff 4953758 1840843
0C 2ku_dribbling_tpthesitation.mov 47182965 76800
0C 2ku_dribbling_tptjab.mov 47259765 262144
2Y newaudio/lines_ps/000110-035106-000000-002163-000000-000001.wav 16899133815 4399
2Y newaudio/lines_ps/000110-035106-000000-002164-000000-000001.wav 16899138214 6460I want it to become this
english.iff
french.iff
2ku_dribbling_tpthesitation.mov
2ku_dribbling_tptjab.mov
newaudio/lines_ps/000110-035106-000000-002163-000000-000001.wav
newaudio/lines_ps/000110-035106-000000-002164-000000-000001.wavIs there any easy way to do this? Thank you
-
Yes, I think so. Try the following regex:
Search: (?-s)^\w+ ([^ ]+).* Replace: $1Put the caret at the very beginning of the document, select the
Regular Expression modeand click onReplace All.Hope this helps.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login