Guest User

Untitled

a guest
Jun 9th, 2012
37
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.39 KB | None | 0 0
  1. preg_match a hyperlink
  2. http://video.cnbc.com/gallery/?video=3000024508
  3.  
  4. preg_match( '/^http://video.cnbc.com/gallery/?video=([0-9_-]/', $content )
  5.  
  6. preg_match('#^http://video.cnbc.com/gallery/?video=([0-9_-]+)$#', $content);
  7.  
  8. preg_match( '#^http://video.cnbc.com/gallery/?video=([0-9_-]+)#', $content )
  9.  
  10. preg_match( '/^http://video.cnbc.com/gallery/?video=([0-9_-])/', $content)
Advertisement
Add Comment
Please, Sign In to add comment