View Single Post
Old 01-14-2014, 11:43 PM   #1
anandkarthikeyan
Junior Member
anandkarthikeyan began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Jan 2014
Device: kindle
regex to add books; filenames with only underscores as separators

I have a bunch of files formatted like this "surname_firstname_t_i_t_l_e.format", for instance, like "kermode_frank_sense_of_an_ending.pdf"

The problem is that I have used no other separators to identify where the author field stops or the title begins. To add these books, I want help with a regEx that will recognise the first two units as containing the metadata for the author and the rest for the title. Thanks.
anandkarthikeyan is offline   Reply With Quote