Copy link to clipboard
Copied
Hi!
I have looked around in the community and found a few topics, which I must admit I did not understand. (I am far from "code wizard"...)
What I want to do is replace one or more characters etc, but keep others. I believe this can be done in GREP, but my attempts have been unsuccessful.
Example:
Search for "(any lowercase letter) (any uppercase letter)" - with a space in the middle.
Change to "(the found lowercase letter)./r(the found uppercase letter)" - thus insert a full stop and a new paragraph instead of the space, but keeping the two letters surrounding it.
a R
becomes
a.
R
Grateful for instructions. 🙏
(^/)
Copy link to clipboard
Copied
Find: (\l)\h(\u)
Replace by: $1.\r$2
(^/) The Jedi
Copy link to clipboard
Copied
Thank you, especially for your quick reply.
Unfortunately, I only get the dollar sign, not the letter;
$1.
$2
Either typing "$1" or choosing "found1" - same result.
Copy link to clipboard
Copied
(^/)
Copy link to clipboard
Copied
OK. Tried again. Putting the find variables within brackets manually made the trick.
Thank you!
Get ready! An upgraded Adobe Community experience is coming in January.
Learn more