Regex tester
Pattern
Input
PC1-FOO1234567
PC2-FOO1234567/FOO98765
Options
Replacement
Click the context tab to see replacements.
2 matches found in about 8 milliseconds.
IndexPositionMatched String$1$2
04FOO1234567 1234567 empty string
120FOO1234567/FOO98765123456798765
PC1-FOO1234567
​PC2-FOO1234567/FOO98765
  1. PC1-
  2. 1234567

  3. PC2-
  4. 1234567
  5. 98765
  6. empty string