Regex tester
Pattern
Input
abcd12 %1%%2%%%3%%%%4 efgh

abcd%12%%34%%%666%%%%11efgh
%%6%%7%%8
123
abc123
Options
Replacement
Click the context tab to see replacements.
12 matches found in about 7 milliseconds.
IndexPositionMatched String$1
0412d
11121
22043
33621
439342
545666
651116
7616whitespace
86476
96787
1070123whitespace
1178123c
abcd12 %1%%2%%%3%%%%4 efgh
​
​abcd%12%%34%%%666%%%%11efgh
​%%6%%7%%8123
​abc123
  1. abcd
  2. d
  3. %1%%
  4. 1
  5. %%%3%%%%
  6. 3
  7. efgh

    abcd%1
  8. 1
  9. %%
  10. 2
  11. %%%6
  12. 6
  13. %%%%
  14. 6
  15. efgh
    %%
  16. whitespace
  17. %%
  18. 6
  19. %%
  20. 7
  21. whitespace
  22. whitespace

  23. abc
  24. c
  25. empty string