@@ -0,0 +1,1313 @@
+import java.io.*;%0Aimport java.lang.Object;%0Aimport java.util.*;%0Aimport java.util.regex.*;%0A%0A%0Apublic class rtf %7B%0A%09private static String nomFichier = %22map.csv%22;%0A%09private static String destination = %22final.txt%22;%0A%09private static String CSV_SEPARATOR = %22;%22;%0A%09private File fileEntree;%0A%09private File fileSortie;%0A%09private String REGEX = %22%5C%5C%7B%5B%5E%5C%5C;%5D+%5C%5C;%5C%5C%7D%7C%5C%5C%5C%5C%5B%5E %5D+%5B %5D+%7C%5C%5C%7B%7C%5C%5C%7D%7C%5B0-9a-fA-F%5D%7B127%7D%7C%5B0-9a-fA-F%5D%7B12%7D%22;%0A%09private String REPLACE = %22%22;%0A%0A%09public rtf(String in, String out)%7B%0A%09%09this.fileEntree = new File(in);%0A%09%09this.fileSortie = new File(out);%0A%09%09%0A%09%7D%0A%09%0A%0A%09//I have no idea why it's here%0A%09private String cleanline(String line, String key, String value) %7B%0A%09%09return value;%0A%0A%09%7D%0A%09%0A%09//replace line by line with the regular expression%0A%09public void test() throws IOException%7B%0A%09%09FileWriter fw = new FileWriter(this.fileSortie);%0A%09%09BufferedWriter bw = new BufferedWriter(fw);%0A%09%09FileReader fr = new FileReader(this.fileEntree);%0A%09%09BufferedReader br = new BufferedReader(fr);%0A%09%09String line = br.readLine();%0A%09%09while((line=br.readLine())!=null)%7B%0A%09%09%09String newline = line.replaceAll(this.REGEX,this.REPLACE);%0A%09%09%09bw.write(newline);%0A%09%09%7D%0A%09%09br.close();%0A%09%09bw.close();%0A%09%09%0A%09%7D%0A%0A%09public static void main(String%5B%5D args) throws IOException %7B%0A%09%09// TODO Auto-generated method stub%0A%09%09rtf test = new rtf(%22buffalo96.rtf%22,%22test.rtf%22);%0A%09%09test.test();%0A%09%7D%0A%7D%0A

Create rtf.java