public static String reformat(String input) {
		String output = input.replaceAll("@", "_").replaceAll("^", "_")
				.replaceAll("\\*", "_");
		if (input.contains("</table>"))
			output = output.substring(0, output.indexOf("</table>"));
		output = output.replaceAll("d><t", "d> <t").replaceAll("h><t", "h> <t")
				.replaceAll("d></t", "d>@</t").replaceAll("&nbsp;", "-")
				.replaceAll("--", "");
		return output;
	}