Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 07-02-2021, 05:30 AM
vasileioskaralis vasileioskaralis is offline Find Replace Windows XP Find Replace Office 2013
Novice
Find Replace
 
Join Date: Jul 2021
Posts: 4
vasileioskaralis is on a distinguished road
Default Find Replace

Dear fellow members,



I am trying to add a comma at the end of each keyword/phrase, so that I can use them more easily using find replace.

For example:

recommended cat treats
temptations hairball cat treats
toro toro cat treats
cat liquid snack vitakraft

Turn it to:

recommended cat treats,
temptations hairball cat treats,
toro toro cat treats,
cat liquid snack vitakraft,

How can I do it?

Thank you in advance.

Kind Regards,
VK
Reply With Quote
  #2  
Old 07-02-2021, 07:05 AM
wiganken wiganken is offline Find Replace Windows 10 Find Replace Office 2019
Expert
 
Join Date: Jul 2018
Posts: 279
wiganken will become famous soon enough
Default

I don't think the comma will make any difference.
Reply With Quote
  #3  
Old 07-02-2021, 09:20 AM
vasileioskaralis vasileioskaralis is offline Find Replace Windows XP Find Replace Office 2013
Novice
Find Replace
 
Join Date: Jul 2021
Posts: 4
vasileioskaralis is on a distinguished road
Default

It will, I want it like that. It will make it easier to use as tags
Reply With Quote
  #4  
Old 07-02-2021, 10:33 AM
wiganken wiganken is offline Find Replace Windows 10 Find Replace Office 2019
Expert
 
Join Date: Jul 2018
Posts: 279
wiganken will become famous soon enough
Default

Oh! So Find Replace uses Tags does it? I didn't know that. Sorry can't help.
Reply With Quote
  #5  
Old 07-02-2021, 08:03 PM
Guessed's Avatar
Guessed Guessed is offline Find Replace Windows 10 Find Replace Office 2016
Expert
 
Join Date: Mar 2010
Location: Canberra/Melbourne Australia
Posts: 3,977
Guessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant future
Default

Use find and replace
Find "^p"
Replace with ",^p"

If this doesn't work then you need to post a sample document so we can see what is at the end of each line
__________________
Andrew Lockton
Chrysalis Design, Melbourne Australia
Reply With Quote
  #6  
Old 07-03-2021, 12:21 AM
vasileioskaralis vasileioskaralis is offline Find Replace Windows XP Find Replace Office 2013
Novice
Find Replace
 
Join Date: Jul 2021
Posts: 4
vasileioskaralis is on a distinguished road
Default

Unfortunately it didn't work.

I am attaching two docs:

sample before and sample after to show how it looks before and how after.

Maybe it's easier to do in text file I don't know.

Thanks in advance.

Regards,
VK
Attached Files
File Type: docx sample before.docx (13.4 KB, 7 views)
File Type: docx sample after.docx (13.5 KB, 6 views)
Reply With Quote
  #7  
Old 07-03-2021, 03:47 AM
Robert2 Robert2 is offline Find Replace Windows 10 Find Replace Office 2007
Competent Performer
 
Join Date: Jun 2013
Posts: 165
Robert2 will become famous soon enoughRobert2 will become famous soon enough
Default

It will work as expected if you associate the Replace With string with a right-alignment format for the replaced paragraphs.
Reply With Quote
  #8  
Old 07-03-2021, 04:01 AM
vasileioskaralis vasileioskaralis is offline Find Replace Windows XP Find Replace Office 2013
Novice
Find Replace
 
Join Date: Jul 2021
Posts: 4
vasileioskaralis is on a distinguished road
Default

Quote:
Originally Posted by Robert2 View Post
It will work as expected if you associate the Replace With string with a right-alignment format for the replaced paragraphs.
how do I do this?
Reply With Quote
  #9  
Old 07-03-2021, 04:13 AM
Robert2 Robert2 is offline Find Replace Windows 10 Find Replace Office 2007
Competent Performer
 
Join Date: Jun 2013
Posts: 165
Robert2 will become famous soon enoughRobert2 will become famous soon enough
Default

Have a look at Word Find and Replace Formatting | CustomGuide
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
How do you use the find and replace tool to find dates and times in Excel 2013? Jules90 Excel 3 04-14-2020 07:40 PM
In Find and Replace, can Word stop after each Replace? wardw Word 1 06-08-2017 02:47 PM
Find Replace Find what box in Find and replace limits the length of a search term Hoxton118 Word VBA 7 06-10-2014 05:05 AM
Find Replace Bad view when using Find and Find & Replace - Word places found string on top line paulkaye Word 4 12-06-2011 11:05 PM
Find Replace Help with find and replace or query and replace shabbaranks Excel 4 03-19-2011 08:38 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 02:04 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft