Tags: regexp,php

Sort by: Date / Title /

  1. 2 months ago by sx
    1. preg_replace('/\\s{2,}/',' ',$string);
  2. 1 year 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];

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