Skip to content

Instantly share code, notes, and snippets.

@bertrandom
Created February 23, 2013 00: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 bertrandom/5017613 to your computer and use it in GitHub Desktop.
Save bertrandom/5017613 to your computer and use it in GitHub Desktop.
Trip Advisor venue URL -> ID regex
(.*)(d[0-9]+)(.*)
$2
@PhilBrg
Copy link

PhilBrg commented Apr 18, 2018

I would suggest this instead: (.)d([0-9]+)(.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment