N
Nightcrawler
I am trying to parse out information using regular expressions. The
textfile I am using looks like this (I am only using 3 entires but in
reality the number could be anything):
#TIME:12:58
C:\Documents and Settings\me\My Documents\My Music\Artist - Title.mp3
#TIME:12:59
C:\Documents and Settings\me\My Documents\My Music\Awesome\Artist -
Title.mp3
#TIME:13:09
C:\Documents and Settings\me\My Documents\My Music\So Good\Yes\Artist
- Title.mp3
I need to parse out time (12:58 and 12:59 and 13:09) and the artist
and title part (artist - title bit NOT .mp3). I am having major issues
with the artist and title part. Can anyone please point me in the
right direction.
Any feedback is appreciated.
Thanks
textfile I am using looks like this (I am only using 3 entires but in
reality the number could be anything):
#TIME:12:58
C:\Documents and Settings\me\My Documents\My Music\Artist - Title.mp3
#TIME:12:59
C:\Documents and Settings\me\My Documents\My Music\Awesome\Artist -
Title.mp3
#TIME:13:09
C:\Documents and Settings\me\My Documents\My Music\So Good\Yes\Artist
- Title.mp3
I need to parse out time (12:58 and 12:59 and 13:09) and the artist
and title part (artist - title bit NOT .mp3). I am having major issues
with the artist and title part. Can anyone please point me in the
right direction.
Any feedback is appreciated.
Thanks