Regex tester
Pattern
Input
abc-def-c?p=2&x=5&z=6
abc-def-c?x=5&p=2&z=6
abc-def-c?x=5&z=6&p=2
Options
Replacement
Click the context tab to see replacements.
3 matches found in about 1 millisecond.
IndexPositionMatched StringReplacement
010p=2&empty string
137p=2&empty string
264p=2empty string
abc-def-c?x=5&z=6
​abc-def-c?x=5&z=6
​abc-def-c?x=5&z=6&
  1. abc-def-c?
  2. x=5&z=6
    abc-def-c?x=5&
  3. z=6
    abc-def-c?x=5&z=6&
  4. empty string