Generating a random number complying a specific pattern
<p>I want to generate a number that contains 14 digits. But I want to generate it in a certain pattern. Consider the following number:</p>

<blockquote>
  <p><strong>292</strong> 0505 150 <strong>0253</strong></p>
</blockquote>

<ul>
<li>The bold numbers are  constants</li>
<li><code>0505</code> is a day and a month meaning <code>05</code> is the month and <code>05</code> is the day. So when generating the random number the first part must be from <code>0</code> to <code>12</code> and the second one from <code>1</code> to <code>31</code></li>
<li>The other number (<code>150</code>) is random</li>
</ul>

<p>I want each attempt post to a page by curl.</p>
