Regex tester
Pattern
Input
https://www.example.com/my-suburl/sub-dept/xx-xxxx-xx-yyyyyy/
Options
Replacement
Click the context tab to see replacements.
1 match found in about 2 milliseconds.
IndexPositionMatched String
054yyyyyy
https://www.example.com/my-suburl/sub-dept/xx-xxxx-xx-yyyyyy/
  1. https://www.example.com/my-suburl/sub-dept/xx-xxxx-xx-
  2. /