Java tutorial
//package com.java2s; import java.util.HashMap; public class Main { private static HashMap<String, String> fractions; public static String clearFractions(String __text) { // Removes all fraction characters from a string for (String key : fractions.keySet()) { __text = __text.replace(fractions.get(key), ""); } return __text; } }