Last active
June 17, 2021 12:58
-
-
Save tigredanky/e48593e0aa86f67ae4b4697b2cdf808c to your computer and use it in GitHub Desktop.
Regex for three digit url redirection
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
//SOURCE URL | |
^/any/slug/([0-9]{3}) | |
//TARGET URL | |
/and/new/slug/$1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment