Created
November 22, 2019 09:19
-
-
Save xCASx/0026222dad68971ea2c4d7cd75f0aa6c to your computer and use it in GitHub Desktop.
Regex to extract information from TripAdvisor world map
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.*\s+"lng": (?<lng>[-0-9]+.[0-9]+),\s+"lid": [0-9]+,\s+"flags": \[\s+(?<flags>"been"(,\s+"fave")*)\s+\],\s+"name": "(?<city>[\w\s]+),\s(?<country>[\w\s,]+)",\s+"lat": (?<lat>[-0-9]+.[0-9]+)\s.* |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment