I used regex here and still works
clear list(%keywords)
add list to list(%keywords, $list from text("purple
green
yellow
blue
red", $new line), "Delete", "Global")
clear list(%scrape url)
set user agent("Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Firefox/31.0")
loop($list total(%keywords)) {
set(#KW_next_item, $next list item(%keywords), "Global")
clear cookies
navigate("https://www.google.com/", "Wait")
wait for element(<innertext="Google Search">, 10, "Appear")
type text(<name="q">, "{#KW_next_item} balloons", "Standard")
click(<name="btnK">, "Left Click",