Regex tester
Pattern
Input
xxx 4145 xx foo: 85 - 123 , [8545:2] yy rr 99
foo: 41 74 foo: 858 10 32 foo: 554 04 y
Options
Replacement
Click the context tab to see replacements.
4 matches found in about 2 milliseconds.
IndexPositionMatched String$1
00xxx 4145 xx foo: 8585
147foo: 41 74 foo: 858858
266 10 32 foo: 554554
381 0404
xxx 4145 xx foo: 85 - 123 , [8545:2] yy rr 99
​foo: 41 74 foo: 858 10 32 foo: 554 04 y
  1. empty string
  2. 85
  3. - 123 , [8545:2] yy rr 99
  4. 858
  5. empty string
  6. 554
  7. empty string
  8. 04
  9. y