public static String manageBackslash(String s) {
		final StringBuilder result = new StringBuilder();
		for (int i = 0; i < s.length(); i++) {
			final char c = s.charAt(i);
			if (c == '\\' && i < s.length() - 1) {
				final char c2 = s.charAt(i + 1);
				i++;
				if (c2 == '#' || c2 == '[' || c2 == ']') {
					result.append(c2);
				} else if (c2 == '\\') {
					result.append(c2);
				} else {
					result.append(c);
					result.append(c2);
				}
			} else {
				result.append(c);
			}
		}
		return result.toString();
	}