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 Details

    • EMAIL

      public static final String EMAIL
      Represents the OWASP version of email regex.
      Since:
      4.0.0
      See Also:
    • LONGITUDE

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

      public static final String LATITUDE
      Represents the most generic regex pattern for the Latitude.
      Since:
      1.0
      See Also:
    • 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:
    • 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: