Class RegExUtil
- java.lang.Object
-
- de.knightsoftnet.validators.shared.util.RegExUtil
-
public class RegExUtil extends Object
RegEx Util contains helper routines for regular expressions.- Author:
- Manfred Tremmel
-
-
Constructor Summary
Constructors Constructor Description RegExUtil()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static StringgetAllowedCharactersForRegEx(String pregEx)get all allowed characters which can be part of a String which matches a given regular expression.
-
-
-
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
-
-