Skip to main content
dublove
Legend
September 24, 2022
Answered

InDesign, how to express the search for duplicate regular expressions?

  • September 24, 2022
  • 1 reply
  • 220 views

For example: AAA, ABBC, YeeS, Rigth, Wrong, English, THANKS

I want to find a word where a character reappears.

 

Can AAA, ABBC or YeeS be found with an expression?

This topic has been closed for replies.
Correct answer Manan Joshi

Does the following work

(.)\1+

Or if you porbably want to find the whole word where the repeated characters are present the following should work

\w*(.)\1+\w*

-Manan

1 reply

Manan JoshiCommunity ExpertCorrect answer
Community Expert
September 24, 2022

Does the following work

(.)\1+

Or if you porbably want to find the whole word where the repeated characters are present the following should work

\w*(.)\1+\w*

-Manan

-Manan