Dont use the Search option to do this as we cant access the variables entered into the Search box ( at least I don’t know how to do it)
I would make a Control application with a Multiple Line text box.
Whatever gets pasted into there you have to clean up (remove delimiters) and set whatever is pasted into a usable session array.
Then redirect it to your Grid.
Not knowing your table structure… this next step is up to you…
On the grids OnScriptInit, do a sc_select_where(add) =
" fieldname LIKE (’%[sess_array]%’)
Or
FIND_IN_SET ([arrayitem1],fieldname) >0 OR FIND_IN_SET ([arrayitem2],fieldname) >0 etc etc