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.
|