code: private String regExp(String htmlInput) {
  
          String parsedHtml = htmlInput.trim();
  
          if (m_modeWord) {
              // process all cleanup regular expressions
              for (int i = 0; i < m_cleanupPatterns.length; i++) {
                  parsedHtml = m_clearStyle[i].matcher(parsedHtml).replaceAll("");
              }
          }
  
          // process all replace regular expressions
          for (int i = 0; i < m_replacePatterns.length; i++) {
              parsedHtml = m_replaceStyle[i].matcher(parsedHtml).replaceAll(m_replaceValues[i]);
          }
  
          return parsedHtml;
      }
docs: Parses the htmlInput with regular expressions for cleanup purposes.<p>
  
  @param htmlInput the HTML input
  
  @return the processed HTML