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
FieldsModifier and TypeFieldDescriptionstatic final StringRegEx to take the CDN Url of that sound out of the HTML content.static final StringRegEx to detect a Blerp link in the redemption itself.static final StringThe Regex to check if a String only contains numbers.static final StringThe Regex to detect any number.static final StringThe Regex for Spotify Links.static final StringThe Regex for TikTok Links.static final StringThe Regex to detect any dhm based time input.static final StringThe Regex for URLs.static final StringThe Regex for YouTube Links. -
Constructor Summary
Constructors -
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()
-