Replacing middle & last names in many word documents Announcing the arrival of Valued...
How would a mousetrap for use in space work?
How were pictures turned from film to a big picture in a picture frame before digital scanning?
Can a Beast Master ranger change beast companions?
What does it mean that physics no longer uses mechanical models to describe phenomena?
Significance of Cersei's obsession with elephants?
The Nth Gryphon Number
How can I set the aperture on my DSLR when it's attached to a telescope instead of a lens?
Karn the great creator - 'card from outside the game' in sealed
What to do with repeated rejections for phd position
Drawing spherical mirrors
What is the difference between a "ranged attack" and a "ranged weapon attack"?
Amount of permutations on an NxNxN Rubik's Cube
How does the math work when buying airline miles?
Deconstruction is ambiguous
Is the IBM 5153 color display compatible with the Tandy 1000 16 color modes?
Did any compiler fully use 80-bit floating point?
Project Euler #1 in C++
Co-worker has annoying ringtone
One-one communication
A term for a woman complaining about things/begging in a cute/childish way
What does this say in Elvish?
How to report t statistic from R
Has negative voting ever been officially implemented in elections, or seriously proposed, or even studied?
Can the Flaming Sphere spell be rammed into multiple Tiny creatures that are in the same 5-foot square?
Replacing middle & last names in many word documents
Announcing the arrival of Valued Associate #679: Cesar Manara
Planned maintenance scheduled April 23, 2019 at 23:30 UTC (7:30pm US/Eastern)modifying Word document margin on many documentsExpression help for Find and Replace in Notepad++Microsoft Office Word 2010: How to “Find and Replace” an entire line using “regular expressions” (wildcards)?Word find/replace: add space to postal code with wildcardsBug in Microsoft Word with Find and Replace when searching text containing a hyperlink?Removing all manual word / line breaks in Microsoft WordSearch and replace consecutive capital letters in WordWord, Regex for brackets, word, whitespace or lfSwapping multiple cases of two varying blocks of text, with MS Word find-and-replaceChanging the formatting of white-space to match the adjacent formatting, intelligently?
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ height:90px;width:728px;box-sizing:border-box;
}
I have about 200 letters I need to be sending out through email to people, and right now the header is set up like this:
Dear FirstName MiddleName LastName,
But my boss would like it to just be set up like this:
Dear FirstName,
I have already put in these 200+ names so going back through and removing all middle and last names would take a bit of time. I have a program that will find and replace text to all 200 word documents by itself, but I have to tell the program what to search for and what to replace it with.
So, is there anyway I can do a find and replace in word that would change, for example, these greetings
Dear Bob Michael Barley,
Dear Michelle Renee Grace Steiner,
Dear Russell William John Willson,
to
Dear Bob, Dear Michelle, Dear Russell,
Notice how there are some people with 2 middle names which makes things a bit more complicated.
I know that this search syntax
r(*{1,}),
Can be used to find their full name plus the comma at the end and the r at the end of Dear. But I am not sure what I can use to replace this with so that only the Dear FirstName, is left.
Any help?
microsoft-word
New contributor
CoderKlipto is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
add a comment |
I have about 200 letters I need to be sending out through email to people, and right now the header is set up like this:
Dear FirstName MiddleName LastName,
But my boss would like it to just be set up like this:
Dear FirstName,
I have already put in these 200+ names so going back through and removing all middle and last names would take a bit of time. I have a program that will find and replace text to all 200 word documents by itself, but I have to tell the program what to search for and what to replace it with.
So, is there anyway I can do a find and replace in word that would change, for example, these greetings
Dear Bob Michael Barley,
Dear Michelle Renee Grace Steiner,
Dear Russell William John Willson,
to
Dear Bob, Dear Michelle, Dear Russell,
Notice how there are some people with 2 middle names which makes things a bit more complicated.
I know that this search syntax
r(*{1,}),
Can be used to find their full name plus the comma at the end and the r at the end of Dear. But I am not sure what I can use to replace this with so that only the Dear FirstName, is left.
Any help?
microsoft-word
New contributor
CoderKlipto is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
1
If you've created a form to generate the 200 letters, wouldn't it be easier to edit the form and re-merge the data?
– fred_dot_u
5 hours ago
Look into the "Mail merge" options of Word. I assume that you have made sure the recipients have accepted (you DID ask, didn't you!?) you sending this kind of send-outs.
– Hannu
4 hours ago
add a comment |
I have about 200 letters I need to be sending out through email to people, and right now the header is set up like this:
Dear FirstName MiddleName LastName,
But my boss would like it to just be set up like this:
Dear FirstName,
I have already put in these 200+ names so going back through and removing all middle and last names would take a bit of time. I have a program that will find and replace text to all 200 word documents by itself, but I have to tell the program what to search for and what to replace it with.
So, is there anyway I can do a find and replace in word that would change, for example, these greetings
Dear Bob Michael Barley,
Dear Michelle Renee Grace Steiner,
Dear Russell William John Willson,
to
Dear Bob, Dear Michelle, Dear Russell,
Notice how there are some people with 2 middle names which makes things a bit more complicated.
I know that this search syntax
r(*{1,}),
Can be used to find their full name plus the comma at the end and the r at the end of Dear. But I am not sure what I can use to replace this with so that only the Dear FirstName, is left.
Any help?
microsoft-word
New contributor
CoderKlipto is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
I have about 200 letters I need to be sending out through email to people, and right now the header is set up like this:
Dear FirstName MiddleName LastName,
But my boss would like it to just be set up like this:
Dear FirstName,
I have already put in these 200+ names so going back through and removing all middle and last names would take a bit of time. I have a program that will find and replace text to all 200 word documents by itself, but I have to tell the program what to search for and what to replace it with.
So, is there anyway I can do a find and replace in word that would change, for example, these greetings
Dear Bob Michael Barley,
Dear Michelle Renee Grace Steiner,
Dear Russell William John Willson,
to
Dear Bob, Dear Michelle, Dear Russell,
Notice how there are some people with 2 middle names which makes things a bit more complicated.
I know that this search syntax
r(*{1,}),
Can be used to find their full name plus the comma at the end and the r at the end of Dear. But I am not sure what I can use to replace this with so that only the Dear FirstName, is left.
Any help?
microsoft-word
microsoft-word
New contributor
CoderKlipto is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
New contributor
CoderKlipto is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
New contributor
CoderKlipto is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
asked 6 hours ago
CoderKliptoCoderKlipto
1
1
New contributor
CoderKlipto is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
New contributor
CoderKlipto is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
CoderKlipto is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
1
If you've created a form to generate the 200 letters, wouldn't it be easier to edit the form and re-merge the data?
– fred_dot_u
5 hours ago
Look into the "Mail merge" options of Word. I assume that you have made sure the recipients have accepted (you DID ask, didn't you!?) you sending this kind of send-outs.
– Hannu
4 hours ago
add a comment |
1
If you've created a form to generate the 200 letters, wouldn't it be easier to edit the form and re-merge the data?
– fred_dot_u
5 hours ago
Look into the "Mail merge" options of Word. I assume that you have made sure the recipients have accepted (you DID ask, didn't you!?) you sending this kind of send-outs.
– Hannu
4 hours ago
1
1
If you've created a form to generate the 200 letters, wouldn't it be easier to edit the form and re-merge the data?
– fred_dot_u
5 hours ago
If you've created a form to generate the 200 letters, wouldn't it be easier to edit the form and re-merge the data?
– fred_dot_u
5 hours ago
Look into the "Mail merge" options of Word. I assume that you have made sure the recipients have accepted (you DID ask, didn't you!?) you sending this kind of send-outs.
– Hannu
4 hours ago
Look into the "Mail merge" options of Word. I assume that you have made sure the recipients have accepted (you DID ask, didn't you!?) you sending this kind of send-outs.
– Hannu
4 hours ago
add a comment |
0
active
oldest
votes
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "3"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
CoderKlipto is a new contributor. Be nice, and check out our Code of Conduct.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1427456%2freplacing-middle-last-names-in-many-word-documents%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
0
active
oldest
votes
0
active
oldest
votes
active
oldest
votes
active
oldest
votes
CoderKlipto is a new contributor. Be nice, and check out our Code of Conduct.
CoderKlipto is a new contributor. Be nice, and check out our Code of Conduct.
CoderKlipto is a new contributor. Be nice, and check out our Code of Conduct.
CoderKlipto is a new contributor. Be nice, and check out our Code of Conduct.
Thanks for contributing an answer to Super User!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1427456%2freplacing-middle-last-names-in-many-word-documents%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
1
If you've created a form to generate the 200 letters, wouldn't it be easier to edit the form and re-merge the data?
– fred_dot_u
5 hours ago
Look into the "Mail merge" options of Word. I assume that you have made sure the recipients have accepted (you DID ask, didn't you!?) you sending this kind of send-outs.
– Hannu
4 hours ago