Tags: regexp,php

Sort by: Date / Title /

  1. 1 year ago by sx
    1. preg_replace('/\\s{2,}/',' ',$string);
    Paste this in your website: <script type="text/javascript" src="http://www.posteet.com/embed/1329"></script>
  2. 2 years ago by thanh
    1. $foo = strip_tags($source, '<body>, <a>, <br>, <strong>, <b>, <i>, <em>, <font>');
    2. ereg ("<body([^>.]+)>(.+)</body>", $foo, $regs);
    3. echo $regs[2];
    Paste this in your website: <script type="text/javascript" src="http://www.posteet.com/embed/349"></script>

First / Previous / Next / Last / Page 1 of 1 (2 posteets)