Text to words

please

i have this on my clipboard :
tukang kayu + occupation +hammer + expertise + furniture +antique + creativity + decoration +artisan + brown + sculptor +person + detail + carved +jepara + hobby + woodwork +lumber + texture + tourism +travel + gift + owl +nassau + cutter + carving +beautiful + bird + straw +market + closeup + vintage +animal + style + instrument +local + handicraft + rustic +beautiful + bird + straw +market + closeup + vintage +animal + style + instrument +local + handicraft + rustic sculptor +person + detail + carved +jepara + hobby + woodwork +lumber + texture + tourism +travel + gift + owl +nassau + cutter + carving +beautiful + bird + straw +market + closeup + vintage +animal + style + instrument +local + handicraft

  1. how can i create macro that split this text to words
    the + sign is the end of one word

  2. i need just the 50 first words

thanks

Search for + and replace with \n.

please
what you mean by "Search for"
can you show me in macro

Extract + Delimited Words from Clipboard Macro (v9.0.5)

Extract + Delimited Words from Clipboard.kmmacros (3.4 KB)

thank you very much
can i ask one more
after you macro i have this list of word :slight_smile:

app

smiling

coffee shop

cheerful

telephone

messaging

cafe

casualdressed

mobile phone

cellular

typing

dark skinned

woman

young

update

netbook

computer

african american

indoors

cellphone

black model

successful

using technology

website

business

web page

positive

people

millennial

modern device

wireless

Prosperous

chatting

laughing

speedy

quickly

package to the door

express

i wander if you can help me to create macro that
randomly take 20 words from this list

Do you want to disallow picking the same word twice?

yes, thanks

Just replacing a "+" with a "`\n" will lead to spaces before/after each word.
Instead I would do a RegEx replace like this:

\h*\+\h*

This will replace zero or more TABS or SPACES + zero or more TABS or SPACES
with a linefeed.

image

Here is one way to do it.

Extract + Delimited Words from Clipboard & Pick 20 Randomly Macro (v9.0.5)

Extract + Delimited Words from Clipboard & Pick 20 Randomly.kmmacros (9.2 KB)

There is no need to put the clipboard contents into a different variable. I did that just in case you wanted to keep the original clipboard intact. Also, there's no need to use the @@@ delimiter. I did that just in case one of your terms contains a numeral.

my friend i am sorry
this is my list of words :

sunrise , sun , summer ,
vacation , coast , nui ,

south , america , view ,

rapa , pascua , polynesia ,
scenic , wave , beautiful ,
coastline , shore , beach ,

de , sunstar , kakenga ,

long , ana , golden ,

sunburst , volcanic , adventure ,
cliff. , dusk , peaceful ,

crash , seascape , rocks ,
white , bay , horizon ,

sand , evening , south american ,
rapanui , tourist attraction ,

world locations , polynesian triangle ,

i need that the "," will stay after your macro
after your grate macro ( "Extract + Delimited Words from Clipboard & Pick 20 Randomly" )
that pick randomly 20 words from my list
because in my usage the "," need to be after each word
after your 20 words randomize
the "," is like separation

Then simply change the + in the macro to , and it should work just the same.