php regex form questions
<p>Is it possible to just use this code alone to do two different regex matches?</p>

<p>One reg-ex match for X digits and the other for a given string "CAT" only, or do I need to create two different forms, one for each: X digits and one for the string "CAT"?  </p>

<p>Furthermore is there a better php method for this or I am headed in the right direction?</p>

<p>Thank you in advance. </p>

<pre><code>&lt;form action ="callself.php" method = "post"&gt;
 Enter a numeric value:
&lt;br/&gt;
&lt;input type = "text" name = "number"/&gt;
&lt;br /&gt;&lt;br /&gt;
&lt;input type = "submit"/&gt;
&lt;br /&gt;&lt;br /&gt;
&lt;/form&gt;
</code></pre>

<p>I am a newb(still in the process of learning, thank you in advance for not flaming)</p>
