title: Generate a valid example value for a xs:pattern
body: <p>I have the following xsd restriction:</p>
  
  <pre><code>&lt;xs:restriction base="xs:string"&gt;
          &lt;xs:minLength value="25"/&gt;
          &lt;xs:maxLength value="26"/&gt;
          &lt;xs:pattern value="(SA|DA|NT|DCS)(((0[1-9]|1[0-9])9999999999\d{4}\d{7})|([2-3]0(0[1-9]|[1-4][0-9]|5[0-2])\d{8}\d{4}\d{7})|(4099999999(0[1-9]|1[0-9])\d{4}\d{7}))"/&gt;
      &lt;/xs:restriction&gt;
  </code></pre>
  
  <p>The problem is that im not able to generate an example value that complies with this pattern...is there some program or website where inputting the pattern it gives out valid example values for the pattern?</p>
  
  <p>I used liquid xml studio in order to generate a sample xml with the schema and it got wrong all the strings that were validated by patterns...</p>