Hi - Need Help on EBook Authors

A swapping-ground for Regular Expression syntax

Hi - Need Help on EBook Authors

Postby adonismale » Sun Aug 18, 2019 4:06 pm

Hi,

My friend gave me a large collection of ebooks that I'm trying to properly categorize and sort by "Last Name, First Name - Book Title."

Unfortunately, all of these books are currently titled as "Book Title - FirstName LastName". For example, "A Christmas Carol - Charles Dickens"

Does anyone have a suggestion on how to flip this all around? I'm pretty good with the BRU standard options, but Regex is a whole different world for me. Thanks!!

Joel
adonismale
 
Posts: 6
Joined: Sun Dec 04, 2016 12:26 am

Re: Hi - Need Help on EBook Authors

Postby therube » Sun Aug 18, 2019 6:34 pm

"Dash" might meet your needs, viewtopic.php?p=10180#p10180.
(Kind of assumes there is only 1 "dash", be it a dash or even hyphen.)
therube
 
Posts: 1314
Joined: Mon Jan 18, 2016 6:23 pm


Return to Regular Expressions