Package de.presti.ree6.utils.data
Class RegExUtil
java.lang.Object
de.presti.ree6.utils.data.RegExUtil
Utility class meant to store all the RegExes.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
RegEx to take the CDN Url of that sound out of the HTML content.static final String
RegEx to detect a Blerp link in the redemption itself.static final String
The Regex to check if a String only contains numbers.static final String
The Regex to detect any number.static final String
The Regex for Spotify Links.static final String
The Regex for TikTok Links.static final String
The Regex to detect any dhm based time input.static final String
The Regex for URLs.static final String
The Regex for YouTube Links. -
Constructor Summary
-
Method Summary
-
Field Details
-
URL_REGEX
The Regex for URLs.- See Also:
-
TIKTOK_REGEX
The Regex for TikTok Links.- See Also:
-
SPOTIFY_REGEX
The Regex for Spotify Links.- See Also:
-
BLERP_REGEX
RegEx to detect a Blerp link in the redemption itself.- See Also:
-
BLERP_PAGE_REGEX
RegEx to take the CDN Url of that sound out of the HTML content.- See Also:
-
YOUTUBE_REGEX
The Regex for YouTube Links.- See Also:
-
NUMBER_ONLY_REGEX
The Regex to check if a String only contains numbers.- See Also:
-
NUMBER_REGEX
The Regex to detect any number.- See Also:
-
TIME_INPUT_REGEX
The Regex to detect any dhm based time input. For example 1d, 2h, 3m- See Also:
-
-
Constructor Details
-
RegExUtil
public RegExUtil()
-