Regex tester
Pattern
Input
123456789
123 456 789
12 34567 89
123-456-789
12-345678-9
-123456789

12- 3423456
Options
Replacement
Click the context tab to see replacements.
6 matches found in about 5 milliseconds.
IndexPositionMatched String
00123456789
111123 456 789
22412 34567 89
337123-456-789
45012-345678-9
564123456789
123456789123 456 78912 34567 89123-456-78912-345678-9
​-123456789
​
​12- 3423456
  1. empty string
  2. whitespace
  3. whitespace
  4. whitespace
  5. whitespace

  6. -


  7. 12- 3423456