Pattern Type in MDM

One Star

Pattern Type in MDM

Hello,
is there any documentation available that describes how to create a reusable "pattern" type (like {2}-{4}Ç)?
Tommy65
Employee

Re: Pattern Type in MDM

Hi Tommy65,
The patterns that you can set in Talend MDM are standard XSD facets that constraint the "xsd:string" type.
You'll find further information about it by looking for XML Regex, as defined by the W3C (http://www.w3.org/TR/xmlschema11-2/#regexs).
All you have to do is to define a custom simple type, right-click on it and select 'edit pattern', and then enter your own regex.
I personally use a quick memo to build patterns : http://www.xmlschemareference.com/regularExpression.html
Enclosed, you'll find some screenshots on how to do.