Regex tester
Pattern
Input
  some text here 
Options
Replacement
Click the context tab to see replacements.
1 match found in about 2 milliseconds.
IndexPositionMatched String$1
00 some text here whitespace
17 captures
  1. whitespace
  2. whitespace
  3. s
  4. o
  5. m
  6. e
  7. whitespace
  8. t
  9. e
  10. x
  11. t
  12. whitespace
  13. h
  14. e
  15. r
  16. e
  17. whitespace
  some text here 
  1. empty string
  2. whitespace
  3. empty string