Class 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 Detail

      • LONGITUDE

        public static final String LONGITUDE
        Represents the most generic regex pattern for the Longitude.
        Since:
        1.0
        See Also:
        Constant Field Values
      • LATITUDE

        public static final String LATITUDE
        Represents the most generic regex pattern for the Latitude.
        Since:
        1.0
        See Also:
        Constant Field Values
      • US_PHONE_NUMBER

        public static final String 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

        public static final String 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