Skip to main content
Participating Frequently
June 30, 2022
Question

Changing Firstname Lastname using GREP

  • June 30, 2022
  • 1 reply
  • 1025 views

Need some help should be an easy one. I need to change Lastname Firstname to Firstname Lastname using GREP. What's the code that I need, Thanks!

This topic has been closed for replies.

1 reply

Community Expert
June 30, 2022

Hi @Nick Cachiaras ,

please show a screenshot sample of what you have, a list of names perhaps?

Enable frame edge visibility and also show hidden characters so that we can exactly see how first name and last name is done in the text, where are end of line special characters or end of paragraph special characters, tabs, blanks etc.pp. Also show paragraphs before and after a certain sample of formatted text on an InDesign page.

 

Thanks,
Uwe Laubender
( Adobe Community Professional )

Participating Frequently
June 30, 2022

Below is an example of what I have. The first image (Lastname Firstname), the second image (Firstname Lastname). I'm wondering what code I need to create the second image, Thanks!

Peter Spier
Community Expert
Community Expert
June 30, 2022

Any names in your list that have three parts? Start with de, van, von, etc?

Those make it much more difficult...