Validation rules ensure that the data matches a format you specify with regular expressions. They can be imposed on the Code property for a reference value, and on string data types in a custom property. The syntax used is based on the Java™ regular expression syntax. InfoSphere® MDM
Reference Data Management Hub matches only when the entire input string explicitly matches.
All characters are literal characters, unless noted.
- \
- Escape character. Forces any special character to be a normal character.
- [
- Signifies the beginning of a character class.
- ]
- Signifies the end of a character class. A character class specifies which characters can match a particular input character. Common ranges in a character class are A-Z, a-z and 0-9. There are shortcuts for particular ranges. Signifies any character.
- \d
- Equivalent to [0-9].
- \D
- Any non-digit.
- \s
- White space characters.
- \S
- Non-whitespace characters.
- \w
- Word characters. Equivalent to [A-Za-z0-9].
- \W
- Non-word characters.
- ^
- Signifies not. For example, [^A-Z] matches a character if it is not a capital letter.
- ?
- Optional. Matches zero or one time.
- *
- Matches zero or more times.
- +
- Matches one or more times.
- {n}
- Matches n times
- {n,}
- Matches n or more times
- {n,m}
- Matches between n and m times, inclusive.