title: regular expression that convert html anchor in to wiki anchor syntax
body: <p>My page contain lots of anchor and i have to put that html in to wiki page .How can i convert anchor into wiki url in php ?</p>
  
  <p>example  : 
  <code>&lt;a href="http://www.php.net/manual/en/memcached.add.php"&gt;add &lt;/a&gt;</code> wiil be <code>[http://www.php.net/manual/en/memcached.add.php add]</code>  </p>