Package com.shaiksphere.mindsmine.jems
Class RegExHelper
java.lang.Object
com.shaiksphere.mindsmine.jems.RegExHelper
A collection of useful static methods to deal with regular expressions.
- Since:
- 1.0
- Author:
- Mohammed Shaik Hussain Ali
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
Represents the OWASP version of email regex.static final String
Represents the most generic regex pattern for the Latitude.static final String
Represents the most generic regex pattern for the Longitude.static final String
Represents the most general form of 24-hour time display format.static final String
Represents a stricter version of the United States (US) phone number. -
Method Summary
-
Field Details
-
EMAIL
Represents the OWASP version of email regex.- Since:
- 4.0.0
- See Also:
-
LONGITUDE
Represents the most generic regex pattern for the Longitude.- Since:
- 1.0
- See Also:
-
LATITUDE
Represents the most generic regex pattern for the Latitude.- Since:
- 1.0
- See Also:
-
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:
-
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:
-