public class RegexReplace
extends Object
Find - ReplaceAll regular expression.
- Author:
- Werner Randelshofer
-
Constructor Summary
Constructors
-
Method Summary
Applies the regular expression to the string.
boolean
int
-
Constructor Details
-
RegexReplace
public RegexReplace()
-
RegexReplace
public RegexReplace(@Nullable String find,
@Nullable String replace)
-
Method Details
-
getFind
public @Nullable String getFind()
-
getReplace
public @Nullable String getReplace()
-
-
apply
Applies the regular expression to the string.
- Parameters:
str - the string
- Returns:
- the replaced string
-
-