Regex tester
Pattern
Input
123abc#456def#
Options
Replacement
Click the context tab to see replacements.
1 match found in about 1 millisecond.
IndexPositionMatched String$1
00123abc#456def#456def#
2 captures
  1. 123abc#
  2. 456def#
123abc#456def#
  1. empty string
  2. 456def#
  3. empty string