@Override
			public void actionPerformed(ActionContext context) {
				int[] selectedRows = PreviewTable.this.getSelectedRows();
				String val = "";
				for (int selectedRow : selectedRows) {
					val += getColumnValue(selectedRow, HEADER_COL_PREVIEW).replaceAll(" ", "");
				}

				StringSelection sel = new StringSelection(val);
				Clipboard clip = GClipboard.getSystemClipboard();
				clip.setContents(sel, null);
			}
Creates a string based on the contents of the preview col in selected
rows, as shown in the table, with no spaces.
Ghidra/Features/Base/src/main/java/ghidra/app/plugin/core/instructionsearch/ui/PreviewTable.java