Class RegexpStringUtils

java.lang.Object
ru.bgcrm.util.RegexpStringUtils

public class RegexpStringUtils extends Object
  • Constructor Details

    • RegexpStringUtils

      public RegexpStringUtils()
  • Method Details

    • findMatchesByTemplate

      public static List<String> findMatchesByTemplate(String text, String regexpTemplate)
      Find substrings in the string matching the pattern
      Parameters:
      text - the input string
      regexpTemplate - the pattern
      Returns:
      the list of found substrings, empty in case of an error