public final class FindAndReplace
extends java.lang.Object
Constructor and Description |
---|
FindAndReplace() |
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
replace(java.lang.String in,
java.lang.String find,
java.lang.String replace,
boolean caseInsensitive)
Given an input string, replace all occurences of a string sequence (reg.
|
public static java.lang.String replace(java.lang.String in, java.lang.String find, java.lang.String replace, boolean caseInsensitive)
in
- input stringfind
- regular expression to match againstreplace
- string to replace matches withcaseInsensitive
- should matching be case insensitive?