Package com.shaiksphere.mindsmine.jems
Class RegExHelper
java.lang.Object
com.shaiksphere.mindsmine.jems.RegExHelper
public final class RegExHelper extends Object
A collection of useful static methods to deal with regular expressions.
- Since:
- 1.0
- Author:
- Mohammed Shaik Hussain Ali
-
Field Summary
Fields Modifier and Type Field Description static String
LATITUDE
Represents the most generic regex pattern for the Latitude.static String
LONGITUDE
Represents the most generic regex pattern for the Longitude.static String
TIME_DISPLAY
Represents the most general form of 24-hour time display format.static String
US_PHONE_NUMBER
Represents a stricter version of the United States (US) phone number. -
Method Summary
-
Field Details
-
LONGITUDE
Represents the most generic regex pattern for the Longitude.- Since:
- 1.0
- See Also:
- Constant Field Values
-
LATITUDE
Represents the most generic regex pattern for the Latitude.- Since:
- 1.0
- See Also:
- Constant Field Values
-
US_PHONE_NUMBER
Represents a stricter version of the United States (US) phone number.
Format: (###) ###-####
Only valid phone numbers are taken into consideration.- Since:
- 1.0
- See Also:
- Telephone Number (Wikipedia), Constant Field Values
-
TIME_DISPLAY
Represents the most general form of 24-hour time display format.
Format: ##:##
Valid: 00:00 to 23:59- Since:
- 1.0
- See Also:
- Constant Field Values
-