Java Utililty Methods Regex String Replace Whitespace

List of utility methods to do Regex String Replace Whitespace

Description

The list of methods to do Regex String Replace Whitespace are organized into topic(s).

Method

StringreplaceWhiteSpaces(String str)
replace White Spaces
return PATTERN_WHITESPACE.matcher(str).replaceAll(" ");
StringreplaceWhiteSpacesByMinusSign(final String value)
Replace white space characters (1..n) by the minus sign character
return replaceWhiteSpaces(value, STRING_MINUS_SIGN);