Skip to main content
Participating Frequently
January 28, 2024
Answered

Grep query to delete [xxx]

  • January 28, 2024
  • 1 reply
  • 3465 views

Dear Friends,

Just recently had to replace my old legacy Adobe suite with Creative Cloud, on account of having to upgrade old 36 bit Mac Mini with 64 bit model. (Other old 36 bit legacy software no longer supported and needed to be upgraded.)

Forgot to make copies of dozens of Find/Replace Queries I had constructed over the Ages Gone By. One I very much need to reconstruct was a GREP string that would simply find a string:

open-square-bracket/any string of numerals/close-square-bracket. In plain text, the Find criterion would be: [xxx].

In my Find/Change Panel, I would "Find what" for the above string, and "Change to" a blank/nothing vaulue. Essentially, just deleting the Find Query.

Any help with writing the GREP Query would be greatly appreciated!

Yours,

Bucky Edgett

This topic has been closed for replies.
Correct answer m1b

Hi @Bucky Edgett, I think this will do:

 

\[\d+\]

 

1 reply

m1b
Community Expert
m1bCommunity ExpertCorrect answer
Community Expert
January 28, 2024

Hi @Bucky Edgett, I think this will do:

 

\[\d+\]

 

Participating Frequently
January 28, 2024

Dear m1b,
Wow Yow Yeah boy! 
Works a charm. Thank you for your immensely quick and helpful reply
Yours,
Bucky "Eternally Grateful" Edgett

m1b
Community Expert
Community Expert
January 28, 2024

Nice!