View Single Post
 
Old 12-09-2014, 09:30 AM
jocke321 jocke321 is offline Windows 7 64bit Office 2010 64bit
Novice
 
Join Date: Dec 2014
Location: Sweden
Posts: 2
jocke321 is on a distinguished road
Default remove repeated words with " macro " or " wild cards " in texts with parentheses and commas

(sorry for my bad english , but I'm tired and have already searched for it and asked the question on another forum of my language . so I used Google Translate)

Me:
Hi, I want to remove repeated words with " macro " or " wild cards " in texts such as :

Muffin Basic NY (wheat flour,margarine(vegetable fat(palm,rapeseed, coconut,palm kernel),water,emulsifier(E471 of vegetable fat),salt,aromas, antioxidants(E330),coloring(E160a)),salt,yeast,whe at flour,dextrose,canola oil , wheat flour , sugar , wheat flour, emulsifiers E472e , flour treatment agent E300, sugar, water )

As you can see, " wheat flour " several times and the text becomes too large , i have to make the text as short as possible and has 100+ recipes that I'll have to do , and do it all manually will take to long time

Sorry if I posted in the wrong forum or if there is already a thread

1:
How difficult is it to google ?
[broken link deleted]

me:
It does not work so well, it removes inter alia, parentheses, and commas . and you must have space between each word and character otherwise it will be included in the word so the word " you ", " you, " and " (you "
are three different words ( pretty easy to fix, though), then it will be to much cut and paste ,that was my backup plan but figured check if I could fix everything in ms word with the " Macros ", " Find & Replace " and " Wild Cards "

but thanks anyway

What I have come up with so far is to search & replace and remove all brackets, commas and dots and then run it through [broken link deleted]. But it takes a long time with all copy o paste and the text can be a bit incomprehensible that I have to correct afterwards and takes lot of time that I have not .

But you should be able to make a macros that are like the website though it skips parentheses , comma and dots. Because then I could have run the spacing between all characters with "search and replace" , removing repetitive ingredients and remove the spaces again ..

Grateful for answers and any suggestions you can give


I only included the important answers.
I appreciate all the suggestions and answers I get. Thanks in advance

Last edited by macropod; 12-09-2014 at 03:28 PM. Reason: broken links deleted
Reply With Quote