code: public static String getLocaleSuffixForName(String name) {
  
          Matcher matcher = PATTERN_LOCALE_SUFFIX.matcher(name);
          if (matcher.find()) {
              return matcher.group(2);
          }
          return null;
      }
docs: Returns the locale suffix from the given String, or <code>null</code> if no locae suffix is found.<p>
  
  Uses the the {@link #PATTERN_LOCALE_SUFFIX} to find a language_country occurrence in the
  given name and returns the first group of the match.<p>
  
  <b>Examples:</b>
  
  <ul>
  <li><code>rabbit_en_EN.html -> Locale[en_EN]</code>
  <li><code>rabbit_en_EN&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;-> Locale[en_EN]</code>
  <li><code>rabbit_en.html&nbsp;&nbsp;&nbsp;&nbsp;-> Locale[en]</code>
  <li><code>rabbit_en&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;-> Locale[en]</code>
  <li><code>rabbit_en.&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;-> Locale[en]</code>
  <li><code>rabbit_enr&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;-> null</code>
  <li><code>rabbit_en.tar.gz&nbsp;&nbsp;-> null</code>
  </ul>
  
  <b>Directly exposed for JSP EL</b>, not through {@link org.opencms.jsp.util.CmsJspElFunctions}.<p>
  
  @param name the resource name to get the locale suffix for
  
  @return the locale suffix if found, <code>null</code> otherwise