Advertisement
Guest User

Untitled

a guest
Oct 23rd, 2010
134
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.22 KB | None | 0 0
  1. <?php
  2.  
  3. $threadurl = 'http://forums.rockbox.org/index.php?topic=26079.new';
  4. preg_match('/.*topic=([0-9]*).*"/',
  5. $threadurl, $matches, PREG_OFFSET_CAPTURE);
  6. print_r($matches);
  7.  
  8. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement