Skip to content

Instantly share code, notes, and snippets.

@ys
Created September 6, 2011 11:13
Show Gist options
  • Save ys/1197294 to your computer and use it in GitHub Desktop.
Save ys/1197294 to your computer and use it in GitHub Desktop.
Google maps regexp for ruby
(http|https):\\/\\/maps\\.google\\.(co\\.[a-z]{2}|com\\.[a-z]{2}|([a-z]{2,}))\\/maps\\?.*|(http|https):\\/\\/maps\\.google\\.(co\\.[a-z]{2}|com\\.[a-z]{2}|([a-z]{2,}))\\/\\?.*|(http|https):\\/\\/maps\\.google\\.(co\\.[a-z]{2}|com\\.[a-z]{2}|([a-z]{2,}))\\/maps\\/ms\\?.*
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment