code: public static String createLikeRegex(String expr, boolean ignoreCase)
      {
          String regex = createRegex(expr, ignoreCase);
          regex = regex.replace("_", ".").replace("%", ".*?");
  
          return regex;
      }
docs: Create regular expression equivalent to any like operator string match
  function.
  
  @param expr
  the expr
  @param ignoreCase
  whether to ignore the case
  @return the string