Last active
December 2, 2020 21:51
-
-
Save ncrmro/a625df317279d1f91588239c729b3b89 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
// URL with country, language, path and query (could remove the country and language easly enough | |
((?<protocol>https?)?(:\/\/)?(?<host>[^\/]*\.[^\/]*))?(\/(?<country>\w{2})?\/(?<language>\w{2}))?(?<path>\/[^?]*)?(?<query>\?.*)? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment