Skip to main content
Inspiring
July 3, 2026
Question

what regular expression

  • July 3, 2026
  • 2 replies
  • 10 views

Hello,

I would like to use a regular expression that could change the “capital letters” to “capital letter + initial” (see blue arrow). What do you advise me to use as a regular expression in that case ?

 

 

    2 replies

    frameexpert
    Community Expert
    Community Expert
    July 3, 2026

    This can’t be done with just a regular expression. You would need an ExtendScript script to do this.

    www.frameexpert.com
    Jeff_Coatsworth
    Community Expert
    Community Expert
    July 3, 2026

    Have you figured out what the OP is looking to do? I’m still unsure what exactly they want the result to look like...

    Jeff_Coatsworth
    Community Expert
    Community Expert
    July 3, 2026

    Your blue arrow is pointing to initial caps - so all your uppercase JOHANN SEBASTIAN BACH would change to Johann Sebastian Bach - is that what you’re asking to do? If so, you don’t need a regular expression to accomplish that.