Regex tester
Pattern
Input
linux-headers
linux
not-linux
unix-sucks

Options
Replacement
Click the context tab to see replacements.
2 matches found in about 1 millisecond.
IndexPositionMatched String
00linux
115linux
linux-headers
​linux
​not-linux
​unix-sucks
​
  1. empty string
  2. -headers

  3. not-linux
    unix-sucks