GREP Library / “First Last” to “Last, First”
Names and listsInDesign GREP

“First Last” to “Last, First”

For author lists and indexes: one name per paragraph, with an optional middle initial, becomes surname first.

Find
BeforeMary J. Watson
^([A-Z][a-z]+(?: [A-Z]\.)?) ([A-Z][a-z'-]+)$
Change to
AfterWatson, Mary J.
$2, $1
Regular space

Run all of these at once with the free GREP Batch Processor.

All GREPs in the library · Learn GREP · Special characters