Some times we need to set element or record attribute with particular restricted values e.g. mail id, positive integer, without any special characters. We can achieve this with following steps:

We need to set Schema property for this MailID as below

Now click on Pattern eclipse and set the Regular expression for mail id:

Through this way we can achieve regulation expression in BizTalk Schemas.
