Home
Tester
Reference
About
Pattern
(?<=wordA.*?)wordB(?=.*?wordD)
Input
wordA
wordB
wordC
wordB
wordD
wordA wordB wordC wordB wordD
Options
Ignore Case
Ignore Whitespace
Explicit Capture
Culture Invariant
Singleline
Multiline
Right To Left
ECMA Script
Start from position:
Max matches to find:
Replacement
Replace matches with...
Click the
context
tab to see replacements.
Regex Info
Table
Context
Split List
2
matches found in about
20
milliseconds.
Show Permalink
Permalink
Index
Position
Matched String
0
6
wordB
1
18
wordB
wordA
wordB
wordC
wordB
wordD
wordA
wordC
wordD