Get correct variable for copying and
Regexp allows for list of strings with embedded line breaks