View Single Post
Old 01-15-2014, 12:43 AM   #1
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