Skip to content

Instantly share code, notes, and snippets.

@bricker
Created June 5, 2013 20:17
Show Gist options
  • Save bricker/5716945 to your computer and use it in GitHub Desktop.
Save bricker/5716945 to your computer and use it in GitHub Desktop.
m = query.query_url.match(/form_code=(?<id>[a-zA-Z0-9]+)/) or
query.query_url.match(/form\/.+?\/(?<id>[a-zA-Z0-9]+)/) or
query.query_url.match(/iframe\/(?<id>[a-zA-Z0-9]+)/)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment