- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I have a text file which is a list of files names in the form:-
1234 AM .....
2365 AM .....
4789 AM .....
2345 AM .....
I want to remove the 4 numbers (random but always 4) and the "AM" from every line, is there a way to do this?
Like replace "???? AM" from every line?
I used to use a line editor where the command was C/???? AM// to do just this.
Or is there a way to highlight the "9999 AM" column for deletion?
The list is about a thousand lines so doing it manually is not on!
Plus I will rebuild the list now and then so the job has to be repeated.
TIA
Link Copied
0 Replies
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page