Regex tester
Pattern
Input
/abcd1/ef/gh001/d
Options
Replacement
Click the context tab to see replacements.
1 match found in about 2 milliseconds.
IndexPositionMatched StringReplacement$1$2
00/abcd1/ef/gh001/d/abcd/ef/gh001/d/abcd/ef/gh001/d
/abcd/ef/gh001/d
  1. empty string
  2. /abcd
  3. /ef/gh001/d
  4. empty string