SOLVED
Split file based on a word that appears several times
Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
aorozco
6 - Meteoroid
‎09-15-2023
10:44 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
I need to split a file that has multiple headers as follows:
- Break up the file based on the header. Headers always include the word TITLE
- Write each file to a csv file
- Assign a unique name to each file
- Sometimes before the first "TITLE", the file contains some random text I don't need so that would need to be removed.
Can someone advise?
I'm attaching a dummy file similar to the one I need to split and a screenshot of the desired outputs as reference.
Thanks
Solved! Go to Solution.
2 REPLIES 2
binuacs
21 - Polaris
‎09-15-2023
12:39 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
@aorozco One way of doing this
‎09-19-2023
09:16 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Thank you very much!
