title: Filtering Date In PHP DOM
body: <p>I wanna replace all date with a space from the fetched content using SIMPLE HTML PHP DOM PARSER (simplehtmldom.sourceforge.net). Here is the code:<br></p>
  
  <pre><code>include("simple_html_php_dom.php");
  $html = file_get_html("http://freebacklinks.prijm.com"); //example.com
  $result = "$html";
  $result = preg_replace("/([1-9]|[0-2][0-9]|3[0-1]) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) [0-9]{4}/", " ", $result);
  $result = preg_replace("/(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) ([1-9]|[0-2][0-9]|3[0-1]) [0-9]{4}/", " ", $result);
  echo $result;
  </code></pre>
  
  <p>So, here all date data like: <code>01 Jan 2004</code> or <code>Jan 01 2004</code> or <code>Dec 12 14</code> should be replaced by a space... But its not replacing those date with space.. Now what to do?<br>
  <strong>Here is a example showing how it will work..</strong> <a href="http://codepad.org/lAuHW565" rel="nofollow">http://codepad.org/lAuHW565</a> <strong>but why its not working in <a href="http://simplehtmldom.sourceforge.net/" rel="nofollow">PHP Simple HTML DOM Parser</a></strong></p>