Open the schema in BizTalk Schema Editor
2. Select the element on which you want to set the desired data pattern
3. Go to properties window.
4. Set the Base Data type as xs:string
5. Set the ‘Derived By’ property to ‘Restriction’.
6. Select ‘Pattern’ property and click the ellipsis
7. Type the regular expression(s) in the ‘Pattern’ property