public class RegexUtils
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private static java.util.regex.Pattern |
LINKS_PATTERN |
private static java.lang.String |
LINKS_REGEX
Regex pattern to get URLs within a plain text.
|
Constructor and Description |
---|
RegexUtils() |
Modifier and Type | Method and Description |
---|---|
static java.util.List<java.lang.String> |
extractLinks(java.lang.String content)
Extract urls from plain text.
|