code: public static String removePattern(final String text, final String regex) {
          return replacePattern(text, regex, N.EMPTY_STRING);
      }
docs: <p>Removes each substring of the source String that matches the given regular expression using the DOTALL option.</p>
  
  This call is a {@code null} safe equivalent to:
  <ul>
  <li>{@code text.replaceAll(&quot;(?s)&quot; + regex, N.EMPTY_STRING)}</li>
  <li>{@code Pattern.compile(regex, Pattern.DOTALL).matcher(text).replaceAll(N.EMPTY_STRING)}</li>
  </ul>
  
  <p>A {@code null} reference passed to this method is a no-op.</p>
  
  <pre>
  StringUtils.removePattern(null, *)       = null
  StringUtils.removePattern("any", (String) null)   = "any"
  StringUtils.removePattern("A&lt;__&gt;\n&lt;__&gt;B", "&lt;.*&gt;")  = "AB"
  StringUtils.removePattern("ABCabc123", "[a-z]")    = "ABC123"
  </pre>
  
  @param text
  the source string
  @param regex
  the regular expression to which this string is to be matched
  @return The resulting {@code String}
  @see #replacePattern(String, String, String)
  @see String#replaceAll(String, String)
  @see Pattern#DOTALL