Regex tester
Pattern
Input
KEYWORD1 is ahead of KeyWord2
KEYWORD1 is ahead of Keyword2 and another KeyWord2
KeyWord2 is behind KEYWORD1
KEYWORD1 is ahead of KEYWORD1 and behind KeyWord2
KeyWord2 is twice of KeyWord2 and in the end KEYWORD1
KEYWORD1 is KeyWord2
Options
Replacement
Click the context tab to see replacements.
7 matches found in about 6 milliseconds.
IndexPositionMatched String
00KEYWORD1
131KEYWORD1
2102KEYWORD1
3112KEYWORD1
4133KEYWORD1
5208KEYWORD1
6218KEYWORD1
KEYWORD1 is ahead of KeyWord2
​KEYWORD1 is ahead of Keyword2 and another KeyWord2
​KeyWord2 is behind KEYWORD1KEYWORD1 is ahead of KEYWORD1 and behind KeyWord2
​KeyWord2 is twice of KeyWord2 and in the end KEYWORD1KEYWORD1 is KeyWord2
  1. empty string
  2. is ahead of KeyWord2
  3. is ahead of Keyword2 and another KeyWord2
    KeyWord2 is behind
  4. whitespace
  5. is ahead of
  6. and behind KeyWord2
    KeyWord2 is twice of KeyWord2 and in the end
  7. whitespace
  8. is KeyWord2