Skip to content

Instantly share code, notes, and snippets.

@pedromenezes
Created March 4, 2010 02:45
Show Gist options
  • Save pedromenezes/321342 to your computer and use it in GitHub Desktop.
Save pedromenezes/321342 to your computer and use it in GitHub Desktop.
<?
function get_the_stuff ($string){
preg_match('/"div-([^"]+)"/', $string, $match);
return $match[1];
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment