Class RegExUtil


  • public class RegExUtil
    extends Object
    RegEx Util contains helper routines for regular expressions.
    Author:
    Manfred Tremmel
    • Constructor Detail

      • RegExUtil

        public RegExUtil()
    • Method Detail

      • getAllowedCharactersForRegEx

        public static String getAllowedCharactersForRegEx​(String pregEx)
        get all allowed characters which can be part of a String which matches a given regular expression. TODO: this is a first feature incomplete implementation, has to be improved.
        Parameters:
        pregEx - string contains a regular expression pattern
        Returns:
        string with all characters that can be part of a string that matches the regex