PHP .htaccess RewriteRule allow multiple combination
<p>I have a problem with my .htaccess file.</p>

<p>In my .htaccess rules if I put this:</p>

<pre>RewriteRule ^post/([^/]*)$ /the_post.php?id=$1 [L]</pre>

<p>I'll be able to navigate url like this:<br/>
<i><a href="http://www.example.com/post/12" rel="nofollow">http://www.example.com/post/12</a></i><br/><br/>
But if I try:<br/>
<i><a href="http://www.example.com/post/12/" rel="nofollow">http://www.example.com/post/12/</a></i><br/>
or<br/>
<i><a href="http://www.example.com/post/12/something-else-here" rel="nofollow">http://www.example.com/post/12/something-else-here</a></i><br/><br/>
The page was not founded.</p>

<p>What is the right way to allow any possible combinations of url?</p>

<ul>
<li>http://www.example.com/post/12</li>
<li>http://www.example.com/post/12/</li>
<li>http://www.example.com/post/12/something-else-here</li>
</ul>

<p>Thanks for your time!</p>