Find Replace

%3CLINGO-SUB%20id%3D%22lingo-sub-2510338%22%20slang%3D%22en-US%22%3EFind%20Replace%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2510338%22%20slang%3D%22en-US%22%3E%3CP%3E%3CSPAN%3EDear%20fellow%20members%2C%3C%2FSPAN%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3CSPAN%3EI%20am%20trying%20to%20add%20a%20comma%20at%20the%20end%20of%20each%20keyword%2Fphrase%2C%20so%20that%20I%20can%20use%20them%20more%20easily%20using%20find%20replace.%3C%2FSPAN%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3CSPAN%3EFor%20example%3A%3C%2FSPAN%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3CSPAN%3Erecommended%20cat%20treats%3C%2FSPAN%3E%3CBR%20%2F%3E%3CSPAN%3Etemptations%20hairball%20cat%20treats%3C%2FSPAN%3E%3CBR%20%2F%3E%3CSPAN%3Etoro%20toro%20cat%20treats%3C%2FSPAN%3E%3CBR%20%2F%3E%3CSPAN%3Ecat%20liquid%20snack%20vitakraft%3C%2FSPAN%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3CSPAN%3ETurn%20it%20to%3A%3C%2FSPAN%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3CSPAN%3Erecommended%20cat%20treats%2C%3C%2FSPAN%3E%3CBR%20%2F%3E%3CSPAN%3Etemptations%20hairball%20cat%20treats%2C%3C%2FSPAN%3E%3CBR%20%2F%3E%3CSPAN%3Etoro%20toro%20cat%20treats%2C%3C%2FSPAN%3E%3CBR%20%2F%3E%3CSPAN%3Ecat%20liquid%20snack%20vitakraft%2C%3C%2FSPAN%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3CSPAN%3EHow%20can%20I%20do%20it%3F%3C%2FSPAN%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3CSPAN%3EThank%20you%20in%20advance.%3C%2FSPAN%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3CSPAN%3EKind%20Regards%2C%3C%2FSPAN%3E%3CBR%20%2F%3E%3CSPAN%3EVK%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E
Occasional Visitor

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

1 Reply

Hello @vasileioskaralis,

simple:

1. Find and replace.

2. Find: ^p

3. Replace: ,^p

(comma, paragraph mark)

 

What it does it replaces the paragraph mark with a comma and a paragraph mark.

 

If your lines do NOT end with paragraph mark, but with a line break, then your Find and Replace needs to reflect that:

Find: ^l

Replace: ,^l