Skip to content

Instantly share code, notes, and snippets.

@abeMedia
Created Nov 1, 2015
Embed
What would you like to do?
Simple regex to extract Google Plus ID from a user submitted URL
/(?:https?:\/\/)?(?:plus\.google\.com\/)?(?:.\/.\/*)?([^\/\s]*)/i
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment