Nov 27, 2017

Retrieving the gist id and user from gist embed code

Gist embed code is very simple, just a script tag with a link to your gist.

<script src=""></script>

This super simple regex expression will match the user (group 1) and the gist id (group 2)


Tags: gist

No Comments

Add a Comment