Reply To: GREP wildcard question

#88229
Peter Kahrel
Participant

Yes, it does:

Find what: (.)
Change to: $1

This would replace any character (except the paragraph return) with itself. The parentheses create a referent, which is referenced by $1. You can do 10 references:

Find what: (.)(.)
Change to: $1$2

etc.

This article was last modified on September 8, 2016

Comments (0)

Loading comments...