public class RegexUtils extends Object
| Constructor and Description |
|---|
RegexUtils() |
| Modifier and Type | Method and Description |
|---|---|
static List<String> |
parse(String input,
String regex)
Parses the provided string with the REGEX given and returns the groups as list
List. |
static String |
parseNgetFirst(String input,
String regex)
Parses the provided string with the REGEX given and returns the first occurrence.
|
static String |
resolve2Env(String property)
Resolves the property to the environment variables value.
|
public static List<String> parse(String input, String regex)
List.input - the inputregex - the regexList.public static String parseNgetFirst(String input, String regex)
input - the inputregex - the regexCopyright © 2016 utils4j. All Rights Reserved.