Advertisement
tcbarrett

Untitled

Aug 7th, 2013
104
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.14 KB | None | 0 0
  1. <?php
  2. echo preg_replace(
  3.         '@{"><a [\/\?a-zA-Z0-9\-\.\:\"\=\_ >]+</a>([\t\n]+)<ul}@',
  4.         " haschildren\\0",
  5.         $string
  6. );
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement