Replacing a phrase with carriage returns

Joined
Nov 28, 2022
Messages
1
Reaction score
0
How can I replace a phrase that contains a carriage return?

Original Format:
NAME
(Title)

Desired Format:
NAME(Title)

I'm sure the advanced replace feature must have a way to accomplish this? Thanks for advice!!!
 

macropod

Microsoft MVP
Joined
Mar 2, 2012
Messages
578
Reaction score
50
Simply use a wildcard Find/Replace with:
Find = (NAME)[^13^l](\()
Replace = \1 \2
Note that, by including a space between \1 and \2 as indicated, you'll get NAME (Title)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top