public static String cleanWhiteSpace(final String value) {
        return value.replaceAll("[\\t\\n\\r\\f]", " ");

    }
Escapes unsafe characters for use in strings in SQL statements.
<p>
replace \ with \\
<p>
replace " with \"
<p>
replace ' with \'

@param value The string to clean
@return The cleaned string
stroom-statistics/stroom-statistics-impl-sql/src/main/java/stroom/statistics/impl/sql/search/SQLSafe.java