// 엑셀시트에서 카피된 테이블 (탭으로 구분된)데이터를 위키 테이블로 변환하는 매크로('||'로 셀구분)
String str = textArea.getText();
str = str.replaceAll("\"([^\"]*)\n([^\"]*)\"", "$1 $2");
str = str.replaceAll("^|\t", "||");
str = str.replaceAll("(.)\n(.)", "$1||\n||$2");
str = str.replaceAll("(.)$", "$1||");
textArea.setText(str);
Valid XHTML 1.0! Valid CSS! powered by MoniWiki
last modified 2010-10-09 18:02:22
Processing time 0.0053 sec