Skip to content

Instantly share code, notes, and snippets.

@jamescridland
Created November 9, 2017 14:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jamescridland/0775ebd602bfac3b4afc5d609246922e to your computer and use it in GitHub Desktop.
Save jamescridland/0775ebd602bfac3b4afc5d609246922e to your computer and use it in GitHub Desktop.
$re = '/[\*].*(gimlet)(.+?\n\n)/';
$str = '* Google Play Music have [buttons for your podcasts](https://play.google.com/intl/en_us/badges-music/). Note, however, that outside the US, they just redirect to the front page of Google Play. One step forward, one step back.
* Recommended: [ReplyAll investigates Facebook](https://gimletmedia.com/episode/109-facebook-spying/) using your phone\'s microphone to spy on your conversations. And, how to stop them doing it, even though they\'re not.
* Event: on now in Austin TX, USA: [Media Tech Week](https://mediatechweek.live/)';
preg_match($re, $str, $matches);
var_dump($matches);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment